A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
Backend cleanup of Microsoft.DataReplication/replicationVaults is not covered in the provided documentation and cannot be performed directly. However, there are a few documented checks that should be completed before engaging Microsoft support for backend removal:
- Verify and remove any locks
- Resource group deletion requires that all resource locks and backup data are removed first.
- Check the
macewanu-prd-uw2-azmigrateresource group and each replication vault for management locks. If any exist, remove them and retry deletion of the vaults and then the resource group.
- Confirm there are no dependent resources
- Resource Manager cannot delete a resource group if resources are still dependent on each other across groups.
- Ensure that no other resources (for example, networks, subnets, or other managed resources) reference these replication vaults. If there are dependencies, remove or update them first.
- Retry deletion at the resource group level
- Once locks and dependencies are cleared, attempt to delete the entire
macewanu-prd-uw2-azmigrateresource group again. Resource Manager will determine the deletion order and retry failed deletes for transient errors.
- Once locks and dependencies are cleared, attempt to delete the entire
- When deletion still fails
- If the replication vaults remain in
Succeededstate and block resource group deletion after all locks and dependencies are removed and delete operations have been retried, this indicates a platform-side issue. - At this point, open a support request with Microsoft Azure Support, include:
- Subscription ID and resource group name
- Full resource IDs of the three replicationVaults
- CorrelationId from failed delete attempts
- Timestamps and regions (westus2, centralus)
- Confirmation that locks and dependencies have been removed and that delete operations with the latest API version (including
force=true) have been attempted.
- Request backend cleanup of the orphaned Microsoft.DataReplication/replicationVaults so that the resource group and provider registration can be unblocked.
- If the replication vaults remain in
These steps align with the documented behavior for deletion failures and resource group deletion ordering; when those are exhausted, only Microsoft Support can perform backend cleanup.
References: