An Azure backup service that provides built-in management at scale.
The resource group delete is blocked because the Azure Backup restore point collections inside it cannot be deleted. Remove those restore point collections first, then delete the resource group.
Use this sequence:
- Verify permissions and locks
- Ensure the account has permission to delete resource groups and resources (delete action on
Microsoft.Resources/subscriptions/resourceGroups). - In the Azure portal, open resource group
AzureBackupRG_northeurope_1→ Settings → Locks and remove any locks on the resource group or on eachMicrosoft.Compute/restorePointCollections/...resource. - If a managed service or application created the locks, remove those as well as described under managed applications and locks.
- Ensure the account has permission to delete resource groups and resources (delete action on
- Delete the restore point collections directly
- In the portal, go to All resources and filter by Type =
Restore Point Collectionor by name starting withAzureBackup_. - For each of the listed resources in the error:
-
Microsoft.Compute/restorePointCollections/AzureBackup_AZ-DC01_299068976700980 -
Microsoft.Compute/restorePointCollections/AzureBackup_rfavd-0_299068365404793 -
Microsoft.Compute/restorePointCollections/AzureBackup_AZ-APP01_299067608986603open it and choose Delete.
-
- If deletion still fails, check Activity log on each restore point collection for a more specific error (for example, dependency or lock).
- In the portal, go to All resources and filter by Type =
- If the restore point collections are related to Azure Backup for VMs
- These
AzureBackup_<VM name>_###########restore point collections are instant recovery points created by Azure Backup. - Follow the documented sequence for VMs with Azure Backup:
- Temporarily stop backup for the corresponding VMs and keep backup data.
- In the backup resource group (here
AzureBackupRG_northeurope_1), delete theRestore Point Collectionresources with namesAzureBackup_<VM name>_###########. This deletes only instant recovery points, not data in the vault. - After the delete operation completes successfully for all restore point collections, proceed to delete the resource group.
- These
- Delete the resource group
- Once all restore point collections are removed and no locks remain, delete
AzureBackupRG_northeurope_1again from the portal or via ARM/CLI. With no child resources blocking deletion, the resource group deletion should succeed.
- Once all restore point collections are removed and no locks remain, delete
If deletion of a restore point collection repeatedly fails even after removing locks and stopping backup, use the Activity Log details (operation IDs from the error) to open a support case so the backend can force-remove the stuck resources.
References:
- Azure Resource Manager resource group and resource deletion
- Handling special cases when moving virtual machines to resource group or subscription
- Troubleshoot restore point failures: Issues with the agent or extension
- RestorePointGroupResource.DeleteAsync(WaitUntil, CancellationToken) Method
- Microsoft.Compute restorePointCollections/restorePoints 2022-11-01 (deployment-language-arm-template)
- Microsoft.Compute restorePointCollections/restorePoints 2022-11-01 (deployment-language-bicep)
- Microsoft.Compute restorePointCollections/restorePoints 2022-08-01 (deployment-language-bicep)
- Microsoft.Compute restorePointCollections/restorePoints 2022-03-01 (deployment-language-bicep)