An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
Hello Satish, it usually comes down to "there’s something still in the vault" blocking the delete. Here’s a quick checklist to work through:
- Check for Azure Site Recovery items
- Go into your Recovery Services vault > “Site Recovery Infrastructure” > “Replicated items” (or “Servers”/“Jobs”).
- Remove any protected items (VMs, servers) and unregister servers.
- Follow the step-by-step for your scenario: Azure VM, VMware to Azure, Hyper-V (with/without VMM). Delete an Azure Site Recovery vault - Azure Site Recovery | Microsoft Learn Delete an Azure Site Recovery vault - Azure Site Recovery | Microsoft Learn Delete an Azure Site Recovery vault - Azure Site Recovery | Microsoft Learn
- If you used Azure Migrate
- Delete your Migrate project first (this removes discovered‐machine metadata).
- Remove any replicated items per your VM scenario (same links as above). Create and manage projects - Azure Migrate | Microsoft Learn
- Backup items & soft-deleted data • In the vault, go to Backup items and delete every active backup instance. • If soft delete is enabled, you’ll need to undelete the items and delete them again or disable soft delete (may require privileged approval). – https://docs.microsoft.com/azure/backup/backup-azure-delete-vault?tabs=portal – https://docs.microsoft.com/azure/backup/secure-by-default?tabs=preview#disable-soft-delete-action
- Force-delete via PowerShell (if you just want to blow everything away – irreversible!)
Connect-AzAccount
Select-AzSubscription -SubscriptionName "YourSubscription" $vault = Get-AzRecoveryServicesVault -Name "YourVaultName" Remove-AzRecoveryServicesVault -Vault $vault
Delete an Azure Site Recovery vault - Azure Site Recovery | Microsoft Learn
Once all of the above are gone, head back to the portal and hit Delete on the vault it should finally succeed.
Hope that Helps! If you still see an error, let me know:
• What error code/message do you get when you try to delete?
• Which scenario did you use the vault for (Site Recovery, Backup, Migrate)?
• Have you already removed all “Backup items,” “Site Recovery” entries, and any soft-deleted data?
Reference (all from Microsoft Docs):
• Delete a Vault – Azure Site Recovery (remove registered servers & items)
• Delete a Vault – Azure Migrate (remove project & items)
• Delete a Recovery Services Vault – Azure Backup (portal + PowerShell)
• Resolve Vault Deletion Issues Due to Soft-Deleted Items
• Use PowerShell to Force-Delete a Vault and Dependencies
Please feel free to reach out if you have any further questions.