Hi @gauri Kothekar ,
Welcome to Microsoft Q&A, thanks for posting your query.
If you want to delete the resource group that contains the storage account with the immutable policy. First you need to remove the immutable policy.
Immutable Storage with Versioning is a feature in Azure Blob Storage that provides enhanced data protection by preventing accidental or malicious deletion or modification of data. When this feature is enabled, it ensures that data stored in the container or object cannot be modified or deleted for a specified retention period. This helps maintain data integrity and compliance with regulatory requirements.
To modify or delete data protected by Immutable Storage with Versioning, you will need to disable the feature or wait until the retention period expires.
In the above screenshot it seems that the container you want to delete has the immutable policy is enable. It prevents the deletion.
- Open the azure portal and navigate to the storage account that has the immutable policy.
- In the left hand menu, click on the immutable policy.
- Click on "delete" button to remove the immutable policy.
- Once the immutable policy is disabled or deleted you can delete the storage account and then delete the resource group
Go through the below Microsoft documentation for more information.
Please let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.