An Azure backup service that provides built-in management at scale.
There is no immediate purge path for a Recovery Services vault when backup items are in soft-deleted state. A vault cannot be deleted while it:
- contains protected data sources
- contains backup data
- contains backup data in soft-deleted state
- has registered storage accounts
If soft delete is enabled and an item was deleted, the item moves to soft-deleted state first. With Secure by Default enabled, the retention window before permanent deletion is 14 to 180 days. The older vault-deletion guidance also states that soft-deleted items are permanently deleted after 14 days of the delete operation.
The supported path is:
- In the vault, go to Overview > Delete and use the guided dependency cleanup.
- If MUA is enabled, get the required authorization first.
- Go to Properties > Security Settings and disable Soft Delete and Security Features if the vault allows it.
- Check for items already in soft-deleted state. Those must be restored and deleted again, or left until permanent deletion completes.
- Go to Backup Items and for every workload, select Stop Backup > Delete Backup Data.
- Go to Backup Infrastructure and unregister all:
- Protected Servers
- Backup Management Servers
- Storage Accounts
- Go to Settings > Networking > Private access and remove any private endpoints.
- When Essentials shows no backup items, backup management servers, or replicated items, delete the vault.
If the vault is empty of dependencies and still fails deletion, the documented destructive fallback is to use the Azure Resource Manager client:
- Verify again in Essentials that no backup items, backup management servers, or replicated items remain.
- Try portal deletion again.
- If it still fails, use ARMClient:
ARMClient.exe delete /subscriptions/<subscriptionID>/resourceGroups/<resourcegroupname>/providers/Microsoft.RecoveryServices/vaults/<Recovery Services vault name>?api-version=2015-03-15
If ARMClient returns that resources still exist in the vault, remove the remaining registered identity/container with:
ARMClient.exe delete /subscriptions/<subscriptionID>/resourceGroups/<resourcegroupname>/providers/Microsoft.RecoveryServices/vaults/<Recovery Services vault name>/registeredIdentities/<container name>?api-version=2016-06-01
If the goal is to delete everything in the vault recursively without reviewing each item, the supported destructive option is the generated PowerShell vault-deletion script from Overview > Delete > Delete using PowerShell Script. This script:
- disables soft delete and security features
- deletes backup items
- unregisters servers and storage accounts
- deletes disaster recovery items
- removes private endpoints
- deletes the vault
This operation is destructive and cannot be undone.