Protecting Azure Resoource Group

CycleDude 61 Reputation points
2022-02-10T00:59:46.13+00:00

Hello All, is there an easy way to protect Resource Groups against accidental deletion? I just want to protect it from deletes, I still need to provide my administrators with the ability to perform management tasks against the RG, but not delete.

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,192 questions
0 comments No comments
{count} votes

Accepted answer
  1. SadiqhAhmed-MSFT 41,716 Reputation points Microsoft Employee
    2022-02-10T02:01:55.053+00:00

    Hello @CycleDude - Thank you for your post!

    To protect "Resource Groups" against accidental deletion, you can leverage locks.

    173011-image.png

    Refer to this doc - https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json

    Hope this helps. Feel free to ping with questions for further assistance in this matter!

    ----------------------------------------------------------------------------------------------------------------------

    If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments

0 additional answers

Sort by: Most helpful