Share via

Recovery Services Vault cannot be deleted — MABS server stuck with Invalid-state backup items after decommission

Marek Pierewoj 0 Reputation points
2026-03-31T08:37:13.1966667+00:00

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:

  1. Soft delete - disabled
  2. Enhanced security - disabled
  3. All other backup items (VMs, SQL, file shares) - successfully deleted
  4. Stop Protection + Delete Data attempted from MABS console - reported success but items persisted in Azure
  5. DPM PowerShell Remove-DPMChildDatasource - no protection groups found, no effect on Azure state
  6. MarkedForDeletion flag set to True directly in the DPMDB SQL database
  7. DPMRA and DPM services restarted multiple times
  8. Azure Backup agent uninstalled from the MABS machine
  9. 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)
  10. DELETE /registeredIdentities/<servername> - blocked by items: ServiceContainerNotEmptyWithBackendMessage
  11. 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

An Azure backup service that provides built-in management at scale.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.