SOLVED

Cannot Delete AzureRm Backup Vault

Copper Contributor

I have an AzureRm Recovery Services Vault, I am unable to delete. Receiving the following error,

 

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 : Sql;gt-lab;gtlab-sql01 Unregister all containers from the vault and then retry to delete vault

 

Note that it says to unregister the containers associated, however all the items listed does not exist in the entire subscription. In fact Backup Items = 0 and Replicated Items = 0

 

PowerShell with no success either, same error. Because this is a subscription from Visual Studio, I can't get Microsoft to look into it.

2 Replies
best response confirmed by Gavin Tan (Copper Contributor)
Solution

 

It seems you might have enable Azure SQL Database long term backup retention, if that's the case article below should help you out.

 

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-long-term-backup-retention-configur...

 

Those backup go not show as backup or replicated item but you should see backup storage usage.

20180131-215851.png

 

 

Hope this helps.


@Hannel Hazeley wrote:

 

It seems you might have enable Azure SQL Database long term backup retention, if that's the case article below should help you out.

 

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-long-term-backup-retention-configur...

 

Those backup go not show as backup or replicated item but you should see backup storage usage.

20180131-215851.png

 

 

Hope this helps.


Thanks that is exactly what I am seeing, and I have resolved the issue with your help!
Cheers!

1 best response

Accepted Solutions
best response confirmed by Gavin Tan (Copper Contributor)
Solution

 

It seems you might have enable Azure SQL Database long term backup retention, if that's the case article below should help you out.

 

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-long-term-backup-retention-configur...

 

Those backup go not show as backup or replicated item but you should see backup storage usage.

20180131-215851.png

 

 

Hope this helps.

View solution in original post