No way to delete backup data for a VM in the Recovery Service Vault

Oliver Centeno 0 Reputation points
2024-07-29T09:21:25.9166667+00:00

We have a Policy in an Immutable vault that we want to change as it is using GeoRedundancy and cross-region restore, which is too expensive.

We are trying multiple ways to delete the data and the vault with a BMSUserErrorVaultDeletionNotAllowed error every time we attempt.

Before suggesting, we already disabled the soft delete and purged all data, and the MUA is disabled.

The backup contains data for 30 days even for the snapshots that should already have expired (I'm writing on Monday July 29th 2024).

Screenshot 2024-07-29 at 11.13.59

Even if I try to delete with PowerShell or az I get errors about the container still being registered but when I try to unregister the container I get an Ok response with no payload.

Eg: Invoke-RestMethod : {"error":{"code":"ServiceResourceNotEmptyWithBackendMessage","message":"Recovery Services Vault cannot be deleted as there are existing resources within the vault. : VM-01. Please ensure all containers have been unregistered from the vault and all private endpoints associated with the vault have been deleted, and retry operation. For more details, see https://aka.ms/AB-AA4ecq5","target":null,"details":null}}

There is nothing on the Backup infrastructure and I cannot disable the backup with the delete option (only retain forever or retain as policy).

I cannot move the VM to another resource group as it is a production environment and I would risk breaking it.

Any further idea?

Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
718 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 46,206 Reputation points Microsoft Employee
    2024-07-31T17:13:25.4166667+00:00

    @Oliver Centeno Sorry for the inconvenience. Before we proceed, Just wanted to confirm if you are facing a similar issue as discussed here - https://learn.microsoft.com/en-us/answers/questions/1846311/can-i-delete-a-recovery-vault-after-it-has-been-lo#answers

    If yes, you need to contact Azure technical support to assist you further.

    Note: Your consent is required to delete the data and once the data is deleted, you will not get it back.


    If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments

Your answer

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