question

ItayMenashe-4001 avatar image
0 Votes"
ItayMenashe-4001 asked SadiqhAhmed-MSFT commented

Cannot delete backup vault

Hello all,

Im trying to delete the last resource in our Azure portal, but I got an error each time.

The error I got is :

Vault deletion error
Cannot delete the Backup vault as there are existing backup instances or backup policies in the vault.

I have no other resources under this account! I deleted them all.


Any ideas?

azure-backup
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Thanks for the quick reply!
Actually I followed that doc and nothing helped because I done have any recovery vault left or any other resource under that account.
142556-screenshot-2021-10-21-215440.png


0 Votes 0 ·

Per error message it is not an RSV, its a backup vault that has backup instances. You need to delete them first.

142499-image.png

As per the screenshot provided, there exist a backup vault. Get into the vault and delete the backup instances that will resolve your issue.

142563-image.png


0 Votes 0 ·
image.png (15.2 KiB)
image.png (78.6 KiB)

I wish I could see Instances or policies under that vault, but nothing there.
142515-screenshot-2021-10-21-220433.png


142500-screenshot-2021-10-21-220453.png


0 Votes 0 ·

Are you sure, you're selecting the correct subscription and the directory? If yes, I recommend reaching out to Azure technical support team by raising a support request. Here is the link - https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request to create support case.

Let us know if you need any further assistance in this matter!

0 Votes 0 ·

To follow-up, Please let us know if you have further query on this.
Please don’t forget to Accept the answer

0 Votes 0 ·

I cannot delete my Backup Vault. There are no policies, instances or locks in place. There is nowhere to disable soft delete on a backup vault, that I can see.

0 Votes 0 ·

Please share the steps you followed to delete backup vault. Also, if possible, share the screenshot of the error message you are seeing.

0 Votes 0 ·
SadiqhAhmed-MSFT avatar image
0 Votes"
SadiqhAhmed-MSFT answered

@ItayMenashe-4001 Thank you for reaching out to us!

The detailed process to delete Azure recovery service vault (RSV) is documented here - https://docs.microsoft.com/en-us/azure/backup/backup-azure-delete-vault

Deleting the backed up resources is not enough to delete RSV, you need to delete the underlying resources as well.

Just wanted to specifically highlight on the process to delete MARS agent backup - https://docs.microsoft.com/en-us/azure/backup/backup-azure-delete-vault#delete-backup-items-from-the-mars-management-console the process is little different from other protected backup instances.

Hope this helps. Let us know if you need further assistance in this matter!


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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

learn2skills avatar image
0 Votes"
learn2skills answered

Hi @ItayMenashe-4001

You can't delete a vault that contains backup data in the soft deleted state.

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.

Disabling soft delete using Azure portal
To disable soft delete, follow these steps:

  1. In the Azure portal, go to your vault, and then go to Settings -> Properties.

  2. In the properties pane, select Security Settings -> Update.

  3. In the security settings pane, under Soft Delete, select Disable.

142840-image.png


Disabling soft delete using Azure PowerShell



If the Answer is helpful, please click Accept Answer and up-vote, so that it can help others in the community looking for help on similar topics.



image.png (112.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.