Azure Logic app - error: 409 while delete blob and snapshot from container,

Copper Contributor

While deleting old blobs using a logic app by giving the container path, we ran into an error message "Status code:409, "message": This operation is not permitted because the blob has snapshots." This subsequently fails the running of the logic app. I have gone through Logic Apps documentation but not found a solution, I tried to use delete blob by providing Id and Filename but the error persists. Is there any way to specifically delete blob and its corresponding snapshot using logic app?  Approaches to solving the issue are welcome.

1 Reply
Maybe have the Logic App run an Azure Runbook which is running a PowerShell script to delete the snapshots etc?