An Azure service that stores unstructured data in the cloud as blobs.
Hi Amit Modi ,
No, it is not possible to delete a storage account if a container has a locked immutability policy (for example 180/730 days) and the retention period has not yet expired.
When an immutability policy is in a locked state, it enforces a WORM (Write Once, Read Many) condition. During this period, the data cannot be modified or deleted by any user, including administrators. [learn.microsoft.com]
Additionally, if there are blobs within a container protected by a locked time-based retention policy, deletion of the container and the storage account is blocked until the retention period completes. [learn.microsoft.com]
It is important to note that once a policy is locked:
- It cannot be removed or reduced, only extended
- There is no supported workaround or override to bypass this restriction
Resolution / Next Steps:
- You must wait until the retention period expires
- After expiry, delete the blobs → container → storage account
For more details, refer to official documentation:
Let me know if you need further assistance on this issue.