This article is brought to you by the Nonprofit Tech Acceleration (NTA) for Black and African American Communities Program Technical Team. For information on how to take advantage of the granted offerings or free technical consultation, please visit: Supporting Black Community Nonprofits | Microsoft Nonprofits
The most important point is when you are deleting any of the Resource Groups, all the resources belonging to that particular Resource Group along with the Resource Group will get deleted permanently. So, you must be very much careful before deleting any of the resource Groups.
Make sure before deleting the Resource Group, that you are reading the warning message that says below.
“Warning! Deleting the “demogroup” resource group is irreversible. The action you’re about to take can’t be undone. Going further will delete this resource group and all the resources in it permanently.”
So, note that it is not possible to recover or restore a deleted Resource Group in Azure. The action can’t be undone and is an irreversible action.
But to avoid this scenario in the future all you need to do is identify all the important Resource Groups that contain critical Azure resources and then Lock those Resource Groups.
As an administrator, you can lock an Azure subscription, resource group, or resource to protect them from accidental user deletions and modifications. The lock overrides any user permissions.
You can set locks that prevent either deletions or modifications. In the portal, these locks are called Delete and Read-only
To Lock your Azure Resource Groups, you just need to follow the below quick instructions.
Click on the Ok button to create the Lock.
“The Resource Group is locked and can’t be deleted. Click here to manage locks for this Resource Group.”
This way you can protect your Azure Resource Group from an accidental deletion or modification in Azure Portal.
Once a resource has been locked, the resource lock must first be removed before the resource can be modified or deleted.
How to recover deleted Resource Group Azure
You can just try the following as a workaround.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.