question

lsc2021 avatar image
0 Votes"
lsc2021 asked lsc2021 answered

How to delete storage namespace(folder) with azure Logic apps


Please tell me,
How to delete [Data Lake Storage Gen2]' namespace(folder) with azure Logic apps.

storage account Configuration [Data Lake Storage Gen2 Hierarchical Namespace] is enable.

For example, I want to delete the following folderB.
.containerA
 |__folderB
  --fileC.txt


azure-logic-apps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

lsc2021 avatar image
0 Votes"
lsc2021 answered

@MayankBargali-MSFT

Thank you for your advice!
I was able to delete the folder by referring to the following site.
Delete Path in [Data Lake Storage Gen2].
Authenticate access to Azure resources by using managed identities in Azure Logic Apps


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

Hi @lsc2021

Unfortunately, this is not supported using Azure Blob Storage connectors. Only supported actions and triggers are listed in this document.
Only Delete blob (Delete File) action is available which deletes the blob from the storage account.

The workaround would be calling the Delete Container REST API using HTTP connector from the logic app.

Hope the above helps. Feel free to get back to me if you have any queries or concerns.

Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.