Hello , Welcome to MS Q&A
It sounds like you're encountering a common issue when trying to delete a Move Collection in Azure Resource Mover, especially when it involves a system-assigned managed identity that no longer has valid permissions or is orphaned. Here are some steps and workarounds based on official guidance and community solutions:
Steps to Resolve the Issue
1. Check for Hidden Resources
- Go to the Resource Group in the Azure Portal.
- Click on “Show hidden types” at the top of the resource list.
- Look for the Move Collection or any Move Resources still listed.
- Try deleting them manually from the portal.
2. Use Azure Resource Mover UI
- Navigate to Azure Resource Mover > Across regions.
- Select the subscription and regions involved.
- If any move resources are listed, delete them first.
- Then try deleting the move collection again.
3. PowerShell Cleanup
If the portal doesn’t work, try this PowerShell command:
Remove-AzResourceMoverMoveCollection -MoveCollectionName "<MoveCollectionName>" -ResourceGroupName "<ResourceGroupName>"
But only after ensuring all move resources inside the collection are deleted.
4. System-Assigned Managed Identity Issue
If you're getting errors related to the system-assigned managed identity, try:
- Disabling and re-enabling the identity (if the resource still exists).
- If the resource is deleted, the identity might be orphaned. In that case, you may need to:
- Use the Azure CLI or PowerShell to force delete the resource group.
- Or contact Microsoft Support for backend cleanup.
- Use the Azure CLI or PowerShell to force delete the resource group.
📚 Helpful Links
- Microsoft Q&A: Unable to delete resources from Azure Resource Mover
- Stack Overflow: Cannot remove Azure MoveCollection
- Azure Docs: Known issues with managed identities Pls check and let us know Thanks Deepanshu