Share via

How delete the left azure vm restore point, the vm and recovery service vault is already deleted

Amit Chakarvarty 0 Reputation points
2026-05-10T19:03:08.17+00:00

I have created a VM in Azure and enabled backup. This morning I deleted the VM, and the recovery service vault I created for my backups.

Deletion of the VM and recovery service vault was successful. However, a restore point collection has been left behind which I cannot delete. Getting below error:

User's image

Azure Site Recovery
Azure Site Recovery

An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.


2 answers

Sort by: Most helpful
  1. Siva shunmugam Nadessin 10,820 Reputation points Microsoft External Staff Moderator
    2026-05-11T04:56:42.59+00:00

    Hello Amit Chakarvarty,

    Thank you for reaching out to the Microsoft Q&A forum.  

    When investigated it looks like you’ve got an orphaned Azure Backup restore point sitting out there, even though the VM and vault show as deleted. What’s happening is that Azure Backup’s soft-delete (and the dependency chain) is holding onto those recovery points, so the “Delete” operation never actually goes through. Here’s a quick way to clean it up without needing an Azure Support ticket:

    Re-create (or identify) the Recovery Services vault

    • If you’ve already deleted the vault, spin up a new one in the same resource group and region using the exact same name. This gives you something you can target with PowerShell/CLI.

    Connect & set context

    Connect-AzAccount
    Select-AzSubscription -SubscriptionName "YourSubscription"
    $vault = Get-AzRecoveryServicesVault -Name "YourVaultName"
    Set-AzRecoveryServicesVaultContext -Vault $vault
    

    Find the orphaned backup item & recovery points

    # List containers for Azure VMs
    $containers = Get-AzRecoveryServicesBackupContainer -ContainerType AzureVM
    # (filter by the old VM name or GUID if you still see it)
    $item = Get-AzRecoveryServicesBackupItem -Container $containers |
            Where-Object { $_.FriendlyName -like "*myvm*" }
     
    # List recovery points for that item
    $rps = Get-AzRecoveryServicesBackupRecoveryPoint -Item $item
    

    Purge all recovery points

    # This will delete every recovery point for that item
    foreach($rp in $rps) {
      Remove-AzRecoveryServicesBackupRecoveryPoint -Item $item `
        -RecoveryPoint $rp -Force -Verbose
    }
    

    Stop protection & delete the (now-empty) backup item

    Disable-AzRecoveryServicesBackupProtection `
      -Item $item -RemoveRecoveryPoints -Force
    

    Finally, delete the vault itself

    Remove-AzRecoveryServicesVault -Vault $vault -Force
    

    Once that’s done, the orphaned restore point collection will be gone, and you’ll stop incurring charges.

    Let me know if any further queries - feel free to reach out!

    Documents Referred:

    • Delete backup data for an Azure VM (stop protection & remove recovery points): https://learn.microsoft.com/azure/backup/backup-azure-manage-vms#delete-backup-data

    • Delete an Azure Backup Recovery Services vault (PowerShell & CLI): https://learn.microsoft.com/azure/backup/backup-azure-delete-vault?tabs=powershell https://learn.microsoft.com/azure/backup/backup-azure-delete-vault?tabs=cli

    • Force-delete a Recovery Services vault (all dependencies) via PowerShell: https://learn.microsoft.com/azure/site-recovery/delete-vault#use-powershell-to-force-delete-the-vault

    Was this answer helpful?

    1 person found this answer helpful.

  2. Stanislav Zhelyazkov 29,586 Reputation points MVP Volunteer Moderator
    2026-05-11T05:55:14.86+00:00

    Hi,

    The restore point most likely has a resource lock. Check for such and delete it. After that you should be able to delete the restore point as well.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    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.