SOLVED! – Vault Cannot Be Deleted As There Are Existing Resources Within The Vault

SOLVED! – Vault Cannot Be Deleted As There Are Existing Resources Within The Vault

This Microsoft Azure Recovery Services vault deletion error appeared in my account when I was deleting all the resources from my subscription. The reason behind this situation was, there were no resources other than the Azure Recovery Services Vault. I was confused and searched everywhere in my Azure resources to confirm whether there is any hidden resource left behind without deleting. Finally, I was able to resolve the issue and this is how I deleted my Recovery Vault at the end.

This is the appeared error when I was deleting the recovery vault

Vault cannot be deleted as there are existing resources within the vault. Please ensure there are no backup items, protected servers or backup management servers associated with this vault. Unregister the following containers associated with this vault before proceeding for deletion: [name_of_my_storage_account]

Unregister all containers from the vault then retry to delete vault

Vault Cannot Be Deleted As There Are Existing Resources : Error

As I mentioned earlier the storage account which I created named “tcstrg2” was already deleted but it was registered with the vault still.

Just checked the Storage Accounts under “Backup Infrastructure” navigating to Recovery Vault -> Backup Infrastructure -> Storage Accounts my old deleted Storage Account was still listed

Vault Cannot Be Deleted As There Are Existing Resources : Check Storage Account

I unregistered the account just following the triple dots, right next to the Storage Account name

Vault Cannot Be Deleted As There Are Existing Resources : Unregister

Confirmed the Storage Account name and deleted

Vault Cannot Be Deleted As There Are Existing Resources : delete the storage account

Checked the notification status

Vault Cannot Be Deleted As There Are Existing Resources : Progress

Unregistration was successfully completed

Vault Cannot Be Deleted As There Are Existing Resources : Completed

Storage account was not listed under the Backup Infrastructure after the completion of the above operation

Vault Cannot Be Deleted As There Are Existing Resources : No account listed

Deleted the Recovery Vault after that and it was successfully deleted

Vault Cannot Be Deleted As There Are Existing Resources : delete now
Vault Cannot Be Deleted As There Are Existing Resources: deleted

I hope this post will help anyone who got similar situation.

Click to rate this post!
[Total: 24 Average: 4.8]

9 responses

  1. Sidney Avatar
    Sidney

    Thank you for share knowledge and experience!

  2. MM Avatar
    MM

    Thanks man
    Problem solved!!!

  3. James Avatar
    James

    Thank you! This solved my issue, I was so confused why there was nothing showing under backups and I couldn’t delete my vault.

  4. fabio Avatar
    fabio

    You saved my day!

  5. shubham Avatar
    shubham

    Thanks…after so much time spending on google I got right solution

  6. Ugoo Ezekoma Avatar

    This helped me a lot. Thanks to the author

  7. Jason Avatar
    Jason

    Thanks. Got the same issue. Strange that Azure does not show the exact issue which it could not delete the vault.

  8. Anon Avatar
    Anon

    Thank you man

  9. Thales Ferraz Avatar
    Thales Ferraz

    Thank you for sharing your knowledge!

    From Brazil

Leave a Reply

Your email address will not be published. Required fields are marked *