SOLVED

Troubleshooting - Unable to delete Recovery Services Vault?/Can't delete Azure Backup Vault?

%3CLINGO-SUB%20id%3D%22lingo-sub-85945%22%20slang%3D%22en-US%22%3ETroubleshooting%20-%20Unable%20to%20delete%20Recovery%20Services%20Vault%3F%2FCan't%20delete%20Azure%20Backup%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-85945%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20may%20receive%20%22%20%3CEM%3EVault%20deletion%20error%20Vault%3A%20'Vault%20name'%20cannot%20be%20deleted%20as%20there%20are%20existing%20resources%20within%20the%20vault.%20Please%20delete%20any%20replicated%20items%2C%20registered%20servers%2C%20Hyper-V%20sites%20(Used%20for%20Site%20Recovery)%2C%20policy%20associations%20for%20System%20Center%20VMM%20clouds%20(Used%20for%20Site%20Recovery)%20and%20then%20delete%20the%20vault.%3C%2FEM%3E%22%20when%20trying%20to%20remove%20the%20azure%20recovery%20services%20vault.%20Most%20of%20the%20Vault%20deletion%20errors%20that%20we%20encounter%20at%20support%20are%20due%20to%20the%20dependency%20resources%20exist%20in%20the%20vault.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20follow%20the%20steps%20metnioned%20in%20below%26nbsp%3Barticles%20to%20resolve%20this%20issue.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EFor%20the%20site%20recovery%20resources%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsite-recovery%2Fdelete-vault%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDelete%20Recovery%20Services%20vault%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EFor%20the%20backup%20resources%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fbackup%2Fbackup-azure-delete-vault%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDelete%20an%20Azure%20Backup%20vault%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EIf%20you%20testing%20the%20product%2C%20want%20to%20rapidly%20delete%20the%20vault%20and%20not%20concerned%20about%20data%20loss%2C%20then%20you%20can%20use%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2Fwiki%2Fcontents%2Farticles%2F37967.asr-and-azure-backup-how-to-force-or-automate-deletion-of-a-site-recovery-vault.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eforce%20delete%20method%3C%2FA%3E%26nbsp%3Bto%20remove%20vault%20and%20all%20its%20dependencies.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-85945%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EData%20%26amp%3B%20Storage%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESite%20Recovery%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-275792%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20Recovery%20Services%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-275792%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20done%20it...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20delete%20an%20item%20on%20the%26nbsp%3B%3CSPAN%3EBackup%20Items%20(Azure%20Backup%20Agent)%20list%20you%20have%20to%20go%20through%20a%20different%20route...%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAfter%20select%20the%20Recovery%20Service%20vault%2C%20instead%20of%20going%20to%20the%20%22Protected%20Items%22%2F%22Backup%20Items%22%20go%20to%20%22Manage%22%2F%22Backup%20Infrastructure%22%20then%20select%20the%20Protected%20Servers.%20There%20select%20%22Azure%20Backup%20Agent%22%20and%20finally%20the%20Protected%20Server%20to%20delete.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAzure...%20it%20really%20drain%20the%20life%20out%20of%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-275784%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20Recovery%20Services%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-275784%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EI%20cannot%20delete%20anything%20on%20the%20Backup%20Items%20(Azure%20Backup%20Agent)%20list.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWhen%20trying%20to%20delete%20the%20server%20when%20I%20click%20the%20delete%20button%20it%20asks%20me%20to%20confirm%2C%20by%20typing%20the%20name%20of%20the%20server%2C%20and%20then%20when%20I%20click%20ok%20on%20the%20form%20it%20closes%20and%20nothing%20else%20happens.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-265446%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20Recovery%20Services%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-265446%22%20slang%3D%22en-US%22%3Eat%20last%20removed%20it%20!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-265441%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20Recovery%20Services%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-265441%22%20slang%3D%22en-US%22%3E%3CP%3EI%20also%20am%20unable%20to%20remove%20the%20backup%20agents.%20I%20do%20not%20get%20any%20option%20other%20than%20Pin%20to%20dashboard%20for%20the%20%3CSPAN%3EBackup%20Items%20(Azure%20Backup%20Agent)%20TAB%3C%2FSPAN%3E.%20Then%20if%20I%20try%20to%20delete%20the%20%3CSPAN%3EProtected%20Server%2C%20I%20enter%20the%20name%20of%20the%20server%2C%20but%20the%20DELETE%20function%20is%20always%20greyed%20out.%20Therefore%20I%20can't%20do%20anything.%20It's%20been%20a%20few%20months%20that%20I%20have%20been%20getting%20charged%20for%20a%20service%20that%20I'm%20not%20using.%20Today%20I%20will%20try%20to%20forcibly%20remove%20using%20powershell%20!%20crossing%20fingers%20!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-122557%22%20slang%3D%22en-US%22%3EUnable%20to%20delete%20Recovery%20Services%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-122557%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI'm%20unable%20to%20delete%20Recovery%20Services%20Vault%20because%20I%20can't%20delete%20ressources%20in%20the%20vault.%3C%2FP%3E%3CP%3E%22On%20the%20%3CSTRONG%3EBackup%20Items%3C%2FSTRONG%3E%20blade%2C%20right-click%20the%20item%2C%20and%20from%20the%20context%20menu%2C%20select%20%3CSTRONG%3EStop%20backup%3C%2FSTRONG%3E.%22%3A%3C%2FP%3E%3CP%3EOn%20right%20click%20I%20just%20see%20%22Pin%20to%20Dashboard%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20Help%20Me!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-122544%22%20slang%3D%22en-US%22%3ERe%3A%20Troubleshooting%20-%20Unable%20to%20delete%20Recovery%20Services%20Vault%3F%2FCan't%20delete%20Azure%20Backup%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-122544%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI'm%20unable%20to%20delete%20Recovery%20Services%20Vault%20because%20I%20can't%20delete%20ressources%20in%20the%20vault.%3C%2FP%3E%3CP%3E%22On%20the%20%3CSTRONG%3EBackup%20Items%3C%2FSTRONG%3E%20blade%2C%20right-click%20the%20item%2C%20and%20from%20the%20context%20menu%2C%20select%20%3CSTRONG%3EStop%20backup%3C%2FSTRONG%3E.%22%3A%3C%2FP%3E%3CP%3EOn%20right%20click%20I%20just%20see%20%22Pin%20to%20Dashboard%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20Help%20Me!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1079126%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20Recovery%20Services%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1079126%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F230709%22%20target%3D%22_blank%22%3E%40Goncalo%20Redondo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%20thank%20you%2C%20thank%20you!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1372595%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20Recovery%20Services%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1372595%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F497282%22%20target%3D%22_blank%22%3E%40davidelee%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20best%20answer%20to%20delete%20your%20vault%20in%20below%20link.%26nbsp%3B%20We%20can%20delete%20it%20from%20Manage%20Settings.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fpureinfotech.com%2Fdelete-backup-azure%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fpureinfotech.com%2Fdelete-backup-azure%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2191618%22%20slang%3D%22en-US%22%3ERe%3A%20Troubleshooting%20-%20Unable%20to%20delete%20Recovery%20Services%20Vault%3F%2FCan't%20delete%20Azure%20Backup%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2191618%22%20slang%3D%22en-US%22%3E%3CP%3Ewell%20infact%20there%20are%20no%20resources%20in%20the%20vault.%20It's%20been%203%20hours%20the%20delete%20process%20is%20on.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F63473%22%20target%3D%22_blank%22%3E%40Kamalakar%20Kamsani%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2359403%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20delete%20Recovery%20Services%20Vault%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2359403%22%20slang%3D%22en-US%22%3EThanks%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F230709%22%20target%3D%22_blank%22%3E%40Goncalo%20Redondo%3C%2FA%3E!%3CBR%20%2F%3EIt%C2%B4s%20really%20worked%20for%20me.%3C%2FLINGO-BODY%3E
Microsoft

You may receive " Vault deletion error Vault: 'Vault name' cannot be deleted as there are existing resources within the vault. Please delete any replicated items, registered servers, Hyper-V sites (Used for Site Recovery), policy associations for System Center VMM clouds (Used for Site Recovery) and then delete the vault." when trying to remove the azure recovery services vault. Most of the Vault deletion errors that we encounter at support are due to the dependency resources exist in the vault.

 

Please follow the steps metnioned in below articles to resolve this issue.

If you testing the product, want to rapidly delete the vault and not concerned about data loss, then you can use force delete method to remove vault and all its dependencies. 

10 Replies

Hello,

I'm unable to delete Recovery Services Vault because I can't delete ressources in the vault.

"On the Backup Items blade, right-click the item, and from the context menu, select Stop backup.":

On right click I just see "Pin to Dashboard"

 

Please Help Me!

Hello,

I'm unable to delete Recovery Services Vault because I can't delete ressources in the vault.

"On the Backup Items blade, right-click the item, and from the context menu, select Stop backup.":

On right click I just see "Pin to Dashboard"

 

Please Help Me!

I also am unable to remove the backup agents. I do not get any option other than Pin to dashboard for the Backup Items (Azure Backup Agent) TAB. Then if I try to delete the Protected Server, I enter the name of the server, but the DELETE function is always greyed out. Therefore I can't do anything. It's been a few months that I have been getting charged for a service that I'm not using. Today I will try to forcibly remove using powershell ! crossing fingers !

at last removed it !

I cannot delete anything on the Backup Items (Azure Backup Agent) list.

 

When trying to delete the server when I click the delete button it asks me to confirm, by typing the name of the server, and then when I click ok on the form it closes and nothing else happens.

best response confirmed by OrinThomas (Microsoft)
Solution

I've done it...

 

To delete an item on the Backup Items (Azure Backup Agent) list you have to go through a different route...

 

After select the Recovery Service vault, instead of going to the "Protected Items"/"Backup Items" go to "Manage"/"Backup Infrastructure" then select the Protected Servers. There select "Azure Backup Agent" and finally the Protected Server to delete.

 

 

 

Azure... it really drain the life out of me.

@Goncalo Redondo 

Thank you, thank you, thank you!

 

 

@davidelee 

 

The best answer to delete your vault in below link.  We can delete it from Manage Settings.

 

https://pureinfotech.com/delete-backup-azure/

well infact there are no resources in the vault. It's been 3 hours the delete process is on. 

@Kamalakar Kamsani 

Thanks, @Goncalo Redondo!
It´s really worked for me.