how to disable VERSION-LEVEL IMMUTABILITY SUPPORT on a container?

mrblonde 216 Reputation points
2021-10-25T14:39:31.83+00:00

Hello,

So today I tried to add VERSION-LEVEL IMMUTABILITY SUPPORT to an azure container. I followed the tutorial here "https://learn.microsoft.com/en-us/azure/storage/blobs/immutable-policy-configure-version-scope?tabs=azure-portal".

Now I want to delete the storage account. But I cannot.

.... is protected from deletion.The container(s) ..... have object level immutability enabled. (Code: AccountProtectedFromDeletion)

I cant find how to disable VERSION-LEVEL IMMUTABILITY SUPPORT and delete the storage account.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,420 questions
Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,529 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
0 comments No comments
{count} votes

Accepted answer
  1. mrblonde 216 Reputation points
    2021-10-25T14:42:16.533+00:00

    Ah. The container can be deleted.

    So first delete the container, then delete the storage account.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Dheeraj Gautam 0 Reputation points
    2023-06-21T12:22:47.4433333+00:00

    there is a way to delete this storage account, what you have to do is below:

    1. Go to Storage browser in left
    2. select container and delete all data available in that
    3. delete container
    4. now delete storage account

    it will allow you to delete storage account even version-level immutability is enabled.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.