Delete Storage Account Access Policy : Time-based retention - LOCKED

Fabien Coloignier 1 Reputation point


For testing purpose, i've created a container with an Access Policy (Time-based retention)
I was testing adding and removing the policy and checking how it impacts blob file.

At some point i try to "LOCK" the policy to understand the difference between LOCK and UNLOCK.
Now that my policy is lock i cannot unlock it anymore nor i cannot delete blob, container or storage.

I understand NOW that it's the purpose of the "LOCK" option but i did it in an "test environnement" and i would like to delete my tests.
Is there any option to delete my container or my complete storage ?

Thank you in advance for your help.


Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,635 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SaiKishor-MSFT 17,221 Reputation points

    @Fabien Coloignier Thank you for reaching out to Microsoft Q&A. I understand that you are having issues with deleting the storage account access policy for the container after locking the time based retention policy.

    Have you tried to delete the Blobs in the Container and then delete the container or storage account?

    Please refer to similar issue resolved here-

    Let me know if the above solution works or not so we can further troubleshoot the issue. Thank you!

    Please let us know if you have any more questions and we will be glad to assist you further. Thank you!


    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    Want a reminder to come back and check responses? Here is how to subscribe to a notification.