Failed to delete container due to ImmutabilityPolicy

Amir Yahav 40 Reputation points Microsoft Employee
2026-06-24T09:02:08.49+00:00

Why I could not delete the countainer despite 730 days have been past ?

Failed to delete 1 out of 1 blobs or directories: d=20240625: This operation is not permitted as the blob is immutable due to a policy. RequestId:8f4ece4a-e01e-000b-23b8-038f80000000 Time:2026-06-24T09:03:48.5627741ZUser's image

Azure Blob Storage
Azure Blob Storage

An Azure service that stores unstructured data in the cloud as blobs.


Answer accepted by question author
Praveen Bandaru 11,800 Reputation points Microsoft External Staff Moderator
2026-07-06T16:00:46.69+00:00

Hello Amir Yahav

Could you confirm whether you’re planning to delete just the containers or the entire storage account? Also, please check whether any policy is applied at the storage level.

If you want to delete your storage account, you can first move it to a Pay-As-You-Go subscription. Once the storage account is migrated, you may cancel that subscription, ensuring that the storage account will not incur any further charges

Was this answer helpful?

1 person found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Amir Yahav 40 Reputation points Microsoft Employee
    2026-07-01T10:53:44.8433333+00:00

    My problem requires a support ticket as all the settings are ok.

    Please create a support ticket on my behalf.

    Thanks Amir

    Was this answer helpful?

    0 comments No comments

  3. Amir Yahav 40 Reputation points Microsoft Employee
    2026-06-24T13:03:13.8066667+00:00
    1. I don't see the version:
      User's image
    2. Nothing here to change :
      User's image
    3. Delete option is dimmed.
      User's image
    4. How to remove locked ?
      User's image

    Please open a case since it's a complex problems that can't be resolved through the Q&A platform.
    I prefer that someone will call me by teams.
    Thanks

    Was this answer helpful?

    0 comments No comments

  4. Senthil kumar 2,500 Reputation points
    2026-06-24T10:26:28.8666667+00:00

    Hi @Amir Yahav

    first check below settings.

    1.

    Container → Settings → Versions

    You must delete:

    Blob versions

    Snapshots

    Soft-deleted blobs

    Soft-deleted versions

    2.

    Storage Account → Data Protection

    Blob soft delete

    Version soft delete

    3.

    Container → Immutability → Legal Holds

    If any exist, remove them.

    4.

    check Policy State: is Locked -if locked remove that.

    check again Blob is immutable due to a policy.

    5,

    Blob versions exist? Any version blocks deletion

    Snapshots exist? Snapshots are immutable too

    Soft delete enabled? Soft-deleted blobs still count

    Legal hold active? Blocks deletion even after retention

    Policy still locked? Normal — deletion allowed only after cleanup

    Thanks.

    Was this answer helpful?


Your answer

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