When a virtual machine is deleted in Azure, recovery depends on how it was configured before deletion.
Please check the following options:
1. Check if the OS Disk Still Exists
When a VM is deleted, sometimes the OS disk is not deleted (if “Delete disk with VM” was not selected).
Go to: Azure Portal → Disks
If the OS disk is still available:
Click on the disk
Select Create VM
Follow the wizard to recreate the VM using that existing disk
This is the fastest recovery method.
2.Check Backup (If Azure Backup Was Enabled)
If Azure Backup was configured:
Go to Recovery Services Vault
Select Backup Items → Azure Virtual Machine
Choose the VM
Click Restore VM
You can restore to:
Original location
New VM
New resource group
3.Check Resource Locks or Activity Log
If unsure about deletion:
Go to Activity Log
Filter by Operation: Delete Virtual Machine
Confirm who deleted it and when
4.If Both VM and Disk Are Deleted
If:
OS disk was deleted
No backup was configured
Unfortunately, Azure does not provide automatic recovery once the disk is permanently deleted.
In that case, restoration is not possible unless:
You have snapshots
You have backup outside Azure
- You have Infrastructure as Code (ARM/Bicep/Terraform) to redeploy