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

%3CLINGO-SUB%20id%3D%22lingo-sub-2427046%22%20slang%3D%22en-US%22%3EAzure%20Logic%20app%20-%20error%3A%20409%20while%20delete%20blob%20and%20snapshot%20from%20container%2C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2427046%22%20slang%3D%22en-US%22%3E%3CP%3EWhile%20deleting%20old%20blobs%20using%20a%20logic%20app%20by%20giving%20the%20container%20path%2C%20we%20ran%20into%20an%20error%20message%20%22Status%20code%3A409%2C%20%22message%22%3A%20This%20operation%20is%20not%20permitted%20because%20the%20blob%20has%20snapshots%20and%20this%20subsequently%20fails%20the%20running%20of%20the%20logic%20app.%20I%20have%20gone%20through%20Logic%20Apps%20documentation%20but%20not%20found%20a%20solution%2C%20I%20tried%20to%20use%20delete%20blob%20by%20providing%20Id%20and%20Filename%20but%20the%20error%20persists.%20Is%20there%20any%20way%20to%20specifically%20delete%20blob%20and%20its%20corresponding%20snapshot%20using%20logic%20app%3F%26nbsp%3B%20Approaches%20to%20solving%20the%20issue%20are%20welcome.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2427046%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New 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.

0 Replies