Unable to Delete Azure Recovery Services Vault

Alan Rudman 0 Reputation points
2026-07-15T17:17:50.26+00:00

I have followed all of the instructions on line regarding removing the vault including removing existing backup items, but I am not able to. I am also unable to turn off the Soft Delete functionality either, so am stuck with soft-delete for the minimum 14 days. I have passed this several times in attempting to delete this vault, but nothing I do allows me to remove it.

I need a destructive way to just purge this vault permanently.

So done with it.

Azure Backup
Azure Backup

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


1 answer

Sort by: Most helpful
  1. AI answer

    2026-07-15T17:18:08.45+00:00

    There is no immediate purge path for a Recovery Services vault when backup items are in soft-deleted state. A vault cannot be deleted while it:

    • contains protected data sources
    • contains backup data
    • contains backup data in soft-deleted state
    • has registered storage accounts

    If soft delete is enabled and an item was deleted, the item moves to soft-deleted state first. With Secure by Default enabled, the retention window before permanent deletion is 14 to 180 days. The older vault-deletion guidance also states that soft-deleted items are permanently deleted after 14 days of the delete operation.

    The supported path is:

    1. In the vault, go to Overview > Delete and use the guided dependency cleanup.
    2. If MUA is enabled, get the required authorization first.
    3. Go to Properties > Security Settings and disable Soft Delete and Security Features if the vault allows it.
    4. Check for items already in soft-deleted state. Those must be restored and deleted again, or left until permanent deletion completes.
    5. Go to Backup Items and for every workload, select Stop Backup > Delete Backup Data.
    6. Go to Backup Infrastructure and unregister all:
      • Protected Servers
      • Backup Management Servers
      • Storage Accounts
    7. Go to Settings > Networking > Private access and remove any private endpoints.
    8. When Essentials shows no backup items, backup management servers, or replicated items, delete the vault.

    If the vault is empty of dependencies and still fails deletion, the documented destructive fallback is to use the Azure Resource Manager client:

    1. Verify again in Essentials that no backup items, backup management servers, or replicated items remain.
    2. Try portal deletion again.
    3. If it still fails, use ARMClient:
    ARMClient.exe delete /subscriptions/<subscriptionID>/resourceGroups/<resourcegroupname>/providers/Microsoft.RecoveryServices/vaults/<Recovery Services vault name>?api-version=2015-03-15
    

    If ARMClient returns that resources still exist in the vault, remove the remaining registered identity/container with:

    ARMClient.exe delete /subscriptions/<subscriptionID>/resourceGroups/<resourcegroupname>/providers/Microsoft.RecoveryServices/vaults/<Recovery Services vault name>/registeredIdentities/<container name>?api-version=2016-06-01
    

    If the goal is to delete everything in the vault recursively without reviewing each item, the supported destructive option is the generated PowerShell vault-deletion script from Overview > Delete > Delete using PowerShell Script. This script:

    • disables soft delete and security features
    • deletes backup items
    • unregisters servers and storage accounts
    • deletes disaster recovery items
    • removes private endpoints
    • deletes the vault

    This operation is destructive and cannot be undone.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.