Accidental Resource Group Deletion

Joe Flis 0 Reputation points
2026-02-20T23:55:54.5566667+00:00

One of our developers was sure we could delete a resource group as it was a test environment and it was not. Can we get some help restoring it? We go to restore and asks for a selection from a list, but it isn't there. I see you can recreate the name for the app service but am a bit lost and too urgent.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


1 answer

Sort by: Newest
  1. AI answer

    2026-02-20T23:56:03.12+00:00

    Unfortunately, once a resource group is deleted in Azure, it cannot be recovered. However, you may be able to restore some recently deleted resources if they support soft delete. You will need to check if the specific resources within the deleted resource group have soft delete enabled and follow the appropriate recovery procedures.

    For restoring a deleted App Service, you can use the Restore-AzDeletedWebApp cmdlet. This cmdlet allows you to restore a deleted web app to a new or existing web app. You will need to specify the target resource group, target app name, and the app service plan linked to the app. If you want to restore only the content without the app settings, you can use the -RestoreContentOnly flag.

    If the app service is not listed for restoration, it may not be recoverable, and you might need to recreate it manually. If you need further assistance, consider opening an Azure support case to explore the possibility of restoring any specific resources that may have soft delete enabled.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.