An Azure backup service that provides built-in management at scale.
Recovery Services Vault cannot be deleted — MABS server stuck with Invalid-state backup items after decommission
Marek Pierewoj
0
Reputation points
I am trying to delete a Recovery Services vault to stop incurring costs. The vault is blocked by a registered MABS (Azure Backup Server)
that has two backup items stuck in Invalid protectionState with 0 recovery points:
- VM;vm1<guid1>
- VM;vm2<guid2>
Steps already taken:
- Soft delete - disabled
- Enhanced security - disabled
- All other backup items (VMs, SQL, file shares) - successfully deleted
- Stop Protection + Delete Data attempted from MABS console - reported success but items persisted in Azure
- DPM PowerShell Remove-DPMChildDatasource - no protection groups found, no effect on Azure state
- MarkedForDeletion flag set to True directly in the DPMDB SQL database
- DPMRA and DPM services restarted multiple times
- Azure Backup agent uninstalled from the MABS machine
- REST API DELETE on both items via /backupFabrics/ActiveDirectory/protectionContainers/Windows;<servername>/protectedItems/ - consistently returns BMSUserErrorInvalidInput across API versions (2016-12-01, 2021-12-01, 2023-04-01)
- DELETE /registeredIdentities/<servername> - blocked by items: ServiceContainerNotEmptyWithBackendMessage
- DELETE vault?api-version=2024-04-01&forceDeletion=true - returns BMSUserErrorVaultDeletionNotAllowed because of the MABS server registration
Additional context:
- Vault has immutabilitySettings: Locked
- Items have 0 recovery points - no actual backup data exists
- Items are of type DPMProtectedItem / AzureBackupServer management type
- The protectionState: Invalid appears to mean the source VMs no longer exist, but Azure will not allow deletion via any REST API path
Question: Is there any supported way to force-remove DPMProtectedItem entries stuck in Invalid state when the MABS server has been decommissioned and the agent is no longer installed? Can I please ask Microsoft Support to help here?
Azure Backup
Azure Backup
Sign in to answer