Unable to Delete an Azure Backup Recovery Services vault

RAHUL K S 0 Reputation points
2024-12-31T09:47:29.61+00:00

I have checked for all the things under "Before you start" in the article at https://learn.microsoft.com/en-us/azure/backup/backup-azure-delete-vault?tabs=portal

But still I get the following error as shown in the screenshot

Screenshot 2024-12-31 150246

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,347 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andreas Baumgarten 116.6K Reputation points MVP
    2024-12-31T10:33:09.6366667+00:00

    Hi @RAHUL K S ,

    it looks like you have still some protected items related to the Recovery Services Vault (step 2).

    There are related servers and storage accounts to the Recovery Services Vault (step 3).

    That's the reason for the error messages and you can't delete the RSV.

    Please check your Backup Infrastructure and the Backup Items.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten


  2. SadiqhAhmed-MSFT 48,256 Reputation points Microsoft Employee
    2024-12-31T13:59:13.48+00:00

    @RAHUL K S Greetings!

    In addition to previous post: You can't delete a Recovery Services vault with any of the following dependencies:

    • You can't delete a vault that contains protected data sources (for example, IaaS VMs, SQL databases, Azure file shares).
    • You can't delete a vault that contains backup data. Once backup data is deleted, it will go into the soft deleted state.
    • You can't delete a vault that contains backup data in the soft deleted state.
    • You can't delete a vault that has registered storage accounts.

    If you try to delete the vault without removing the dependencies, you'll encounter one of the following error messages:

    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.

    Recovery Services vault cannot be deleted as there are backup items in soft deleted state in the vault. The soft deleted items are permanently deleted after 14 days of delete operation. Please try vault deletion after the backup items are permanently deleted and there is no item in soft deleted state left in the vault. For more information, see Soft delete for Azure Backup.

    • If you have Backup Items deleted , bring them back
    • Disable Soft Delete
    • Delete bacup Items
    • Delete Vault Please read carefully : ------>

    https://learn.microsoft.com/en-us/azure/backup/backup-azure-delete-vault?tabs=portal

    Hope this helps. Let us know how it goes!


    If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.