Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to restore deleted azure resource groups

One of my resource groups has been deleted by mistake. I am unable to find any option in the azure portal to restore it. Is there any option available to restore deleted resource groups?

like image 615
Arshad Avatar asked Mar 11 '17 06:03

Arshad


People also ask

Can you recover a deleted resource group?

If the resource group was deleted, you must recreate it. Recovering a resource group is not possible. For more information, see Manage resource groups.

How do I restore a deleted Azure group?

Sign in to the Azure AD admin center with a User administrator account. Select Groups, then select Deleted groups to view the deleted groups that are available to restore. On the Deleted groups blade, you can: Restore the deleted group and its contents by selecting Restore group.

What happens when you delete an Azure resource group?

If you have been using a specific and dedicated resource group for Azure Arc-enabled data services and you want to delete everything inside of the resource group you can delete the resource group which will delete everything inside of it.

How do I undelete a group?

Go to the admin center. Expand Groups, and then click Deleted groups. Select the group that you want to restore, and then click Restore group.


1 Answers

Is there any option available to restore deleted resource groups?

Directly, there's no method to restore deleted resource groups. One thing you could do is create a new resource group and find the deployment template used to create resource in the deleted resource group. You can then use that template to recreate the resources.

For future reference, you should lock your resource groups with "CANNOT DELETE" lock to prevent accidental deletes.

like image 86
Gaurav Mantri Avatar answered Nov 01 '22 12:11

Gaurav Mantri