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?
If the resource group was deleted, you must recreate it. Recovering a resource group is not possible. For more information, see Manage resource groups.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With