Hi @Rajesh Sura,
I understand that you're facing trouble with the azurebackupProtectionLock
being greyed out on your storage account and want to delete it. I would recommend you to please follow the below work around.
This lock usually shows up when backups are enabled on Azure File Shares. To remove it, disable all backups for any Azure File Shares tied to your storage account.
Also, please make sure that you have the right permissions to delete resource locks. You typically need a role that allows you to manage locks in Azure.
Then, please navigate to the Portal:
- Goto your Storage Accounts
- Find the "Locks" section under settings in the left side menu.
- If backups are off and you have the permissions, you should be able to select and delete the lock.
However, deleting the lock might not be recommended as it's there to prevent accidental deletions or changes. If it's safe for your scenario, go ahead, but be aware of the risks.
Make sure to review the documentation linked in the original discussion for more context: Why is it recommended to enable lock on the storage account?
If this doesn't fix it, could you give more details? Here are some follow-up questions that might help:
- Are you sure all backups for your Azure File Shares are disabled?
- Do you have the permissions to modify or delete resource locks?
- Have you tried using the Azure CLI or PowerShell, and what was the result?
- Are there any other locks or configurations on your storage account we should know about?
Hope the above suggestion helps! Please let us know do you have any further queries.
Please do consider to “Accept the answer” wherever the information provided helps you, this can be beneficial to other community members.