Hi have only one Storage account in my subscription with versioning enabled and now i wanted to delete that but unable to do so.
while trying to delete this, it's throwing error, I can not change the settings, i have tried to delete the resource group as well but no luck.
Another error message i am getting,
Storage account having the below container:
While trying to open any of these it's showing,
I am unable to delete any containers as well,
This has nothing to do with versioning. If you see the error message in the 2nd screenshot, your storage account is protected by a WORM
policy.
In all likelihood, a blob container in your storage account has version-level immutability enabled
which is preventing that storage account from being deleted.
To delete the storage account, you would first need to find that container and disable the version level immutability (or simply delete the container). After that you should be able to delete the account.
You may find this link helpful to learn more about the data protection options: https://docs.microsoft.com/en-us/azure/storage/blobs/data-protection-overview#overview-of-data-protection-options .
To clear the legal hold on a container, please see this: https://docs.microsoft.com/en-us/azure/storage/blobs/immutable-policy-configure-container-scope?tabs=azure-portal#configure-or-clear-a-legal-hold .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.