Can't delete "backup item" in Azure Recovery Services Vault Resource Group Protected server

%3CLINGO-SUB%20id%3D%22lingo-sub-723068%22%20slang%3D%22en-US%22%3ECan't%20delete%20%22backup%20item%22%20in%20Azure%20Recovery%20Services%20Vault%20Resource%20Group%20Protected%20server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-723068%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-description%20fxs-portal-title%20msportalfx-tooltip-overflow%22%3EI%20get%20the%20following%20error%20when%20I%20try%20to%20delete%20the%20last%20item%20in%20the%20protected%20server.%20There%20are%20backup%20items%20associated%20with%20the%20server.%20Stop%20protection%20and%20delete%20backups%20for%20each%20of%20the%20backup%20items%20to%20delete%20the%20server's%20registration.%20If%20the%20issue%20persists%2C%20contact%20support.%20Refer%20to%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDeleteBackupItems%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FDeleteBackupItems%3C%2FA%3E%20for%20more%20info.%3C%2FDIV%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-description%20fxs-portal-title%20msportalfx-tooltip-overflow%22%3EI%20followed%20the%20instructions%20detailed%20in%20the%20link%20above%20and%20used%20the%20Microsoft%20Azure%20Backup%20application%20to%20try%20and%20can't%20get%20to%20the%20menu%20%22Modify%20or%20Stop%20a%20Scheduled%20Backup%20wizard%22%20and%20it%20doesn't%20show%20and%20thing%20to%20select%20for%20modification.%26nbsp%3B%20Is%20there%20a%20way%20using%20PowerShell%20to%20delete%20an%20%22backup%20item%22%20in%20a%20protected%20server%20vault%3F%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-723068%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Backup%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-729541%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20delete%20%22backup%20item%22%20in%20Azure%20Recovery%20Services%20Vault%20Resource%20Group%20Protected%20s%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-729541%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Veronica%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirstly%20you%20have%20to%20stop%20the%20Backup%20in%20the%20recovery%20service%20vault%20and%20detach%20the%20VMS%20after%20this%20you%20will%20delete%20the%20backup%20in%20the%20vault%20but%20firstly%20you%20have%20to%20stop%20the%20backup.%3C%2FP%3E%3CDIV%20class%3D%22TbwUpd%22%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeA03C9MsUls%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeA03C9MsUls%3C%2FA%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-729630%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20delete%20%22backup%20item%22%20in%20Azure%20Recovery%20Services%20Vault%20Resource%20Group%20Protected%20s%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-729630%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F141516%22%20target%3D%22_blank%22%3E%40Prashant%20Sharma%3C%2FA%3EThank%20you%20for%20sharing.%26nbsp%3B%20I%20wasn't%20able%20to%20delete%20the%20backup%20item%20in%20the%20vault%20from%20a%20different%20machine.%20I%20had%20to%20find%20the%20decommissioned%20server%20that%20was%20used%20to%20create%20the%20backup%2C%20and%20reactivate%20it.%20Once%20the%20MAB%20recognized%20the%20server%20name%20that%20had%20created%20the%20backup%20and%20vault%2C%20I%20was%20able%20to%20access%20the%20backup%20item%2C%20stop%20it%20and%20delete%20it.%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor
I get the following error when I try to delete the last item in the protected server. There are backup items associated with the server. Stop protection and delete backups for each of the backup items to delete the server's registration. If the issue persists, contact support. Refer to https://aka.ms/DeleteBackupItems for more info.
I followed the instructions detailed in the link above and used the Microsoft Azure Backup application to try and can't get to the menu "Modify or Stop a Scheduled Backup wizard" and it doesn't show and thing to select for modification.  Is there a way using PowerShell to delete an "backup item" in a protected server vault?
2 Replies

Hello Veronica,

 

Firstly you have to stop the Backup in the recovery service vault and detach the VMS after this you will delete the backup in the vault but firstly you have to stop the backup.

Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

@Prashant SharmaThank you for sharing.  I wasn't able to delete the backup item in the vault from a different machine. I had to find the decommissioned server that was used to create the backup, and reactivate it. Once the MAB recognized the server name that had created the backup and vault, I was able to access the backup item, stop it and delete it.