Unable to delete Resouce group

Hemachandran V 1 Reputation point
2021-10-17T15:26:03.223+00:00

I have created resource group, after finished my work i tried to delete the resource group its not deleting
How do i need to delete?

Error Details:

'RGEUSVM01' failed as resources with identifiers 'Microsoft.RecoveryServices/vaults/defaultVault403' could not be deleted. The provisioning state of the resource group will be rolled back.

Not Monitored
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Tasadduq Burney 9,256 Reputation points MVP Volunteer Moderator
    2021-10-17T18:15:43.1+00:00

    Hello @Hemachandran V !

    Hope you are having a great day!
    Thank you for asking a Question! We are Glad to Assist you!.

    Have you referred to the official Microsoft documentation below?

    Delete an Azure Backup Recovery Services vault
    https://learn.microsoft.com/en-us/azure/backup/backup-azure-delete-vault

    Also something here might help:
    Troubleshooting - Unable to delete Recovery Services Vault?/Can't delete Azure Backup Vault?

    Let me know if the above solution resolved your issue!

    Regards,
    Tasadduq Burney

    __

    |- Please don't forget to "Upvote" and "Accept as answer" if the reply is helpful -|

    0 comments No comments

  2. Sadiqh Ahmed 49,551 Reputation points Microsoft External Staff Moderator
    2021-10-20T07:02:52.547+00:00

    @Hemachandran V Sorry for the inconvenience this must have caused!

    According to your description, your Recovery Services vault: “defaultVault403” contains VM backup data for the VM, which prevent you from vault deletion. In order to delete the resource group you need delete all the resources within that resource group, one among them is the vault.

    You still can go to Recovery Services vaults->Backup Items->Azure Virtual Machine to check those backup data as Restore points.

    Hence, to delete the vault, you need to firstly cleanup all the backup data following the steps below:

    Go to Recovery Services vault->Properties->Security Settings->Disable the soft delete feature. Reference: https://learn.microsoft.com/en-us/azure/backup/backup-azure-security-feature-cloud#disabling-soft-delete-using-azure-portal

    Go to Recovery Services vault->Backup items->Azure Virtual Machine-> Select the VM that was enabled with backup->Stop backup->Delete backup data
    After you completed the steps above, you should be able to delete the Recovery Services vault successfully.

    For detailed instruction, please refer to this document: https://learn.microsoft.com/en-us/azure/backup/backup-azure-delete-vault

    ----------------------------------------------------------------------------------------------------------------------

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

    0 comments No comments

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.