azureazure-backup-vault

Unable to delete Recovery Service Vault in Azure


I had created a RSV for practice and had a VM and file storage as backup items. Later I deleted the backup items and the VM and storage resource. Yet when i delete the vault i get this error about an existing resource which in fact does not exist.

enter image description here

There are no backup items for the vault

enter image description here

There are no backup jobs, policies , literally anything attached to the VM

enter image description here

The resource group has nothing except the vault

enter image description here

I have deleted everything possible and yet I am not able to delete the vault itself


Solution

  • Unable to Delete Recovery Service Vault in Azure

    In my environment, I encountered the same error:

    Vault Deletion Error: Recovery Services Vault cannot be deleted as there are existing resources within the vault: X venkat9801, venkat789. Please ensure all containers have been unregistered from the vault and all private endpoints associated with the vault have been deleted, and retry the operation. For more details

    Enter image description here

    To delete the Recovery Service Vault, first, you need to unregister your storage account from the Recovery Service Vault.

    To unregister, Go to Portal -> Your Recovery Service Vault -> Backup Infrastructure -> Storage Accounts -> Unregister.

    Portal:

    Enter image description here

    After unregistering the storage accounts, I was able to delete my Recovery Service Vault.

    Portal:

    enter image description here