简体   繁体   中英

Unable to delete Azure Storage Account With Versioning Enabled

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,

在此处输入图像描述

there is nothing in access policy for the container either, 在此处输入图像描述

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM