Share via

I have accidently deleted my resource group including VM, is there a way to get it back

Himanshu Shah 0 Reputation points
2026-02-16T23:49:31.6733333+00:00

Few hours back during some POC, I have accidently deleted my resource group including VM, is there a way to get it back

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Himanshu Shekhar 4,025 Reputation points Microsoft External Staff Moderator
    2026-02-17T00:39:10.35+00:00

    @Himanshu Shah No. A deleted Azure resource group (and the VM inside it) cannot be restored. Deleting a resource group permanently deletes all resources in it, and Azure does not support undo or recovery at the resource‑group level - https://stackoverflow.com/questions/42732276/how-to-restore-deleted-azure-resource-groups

    1. Open an Azure Support request (https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request) immediately. In rare cases, Microsoft Support may help depending on backend retention, but recovery is not guaranteed
    2. Recreate the environment using ARM/Bicep/Terraform templates if you have them
    3. Restore data only if individual services had backups or soft delete enabled (for example, Azure Backup for VMs, soft delete for Key Vault/Storage)

    Prevention for future:

    Apply Delete locks on important resource groups to avoid accidental deletion

    Additonal reference - https://learn.microsoft.com/en-us/answers/questions/2262565/recover-deleted-resource-group-in-azure

    If the information is helpful, please click on Upvote and Accept Answer on it.


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.