Resource group is stuck in the moving state for hours

Grayland Lunn 0 Reputation points
2025-11-07T01:40:52.1+00:00

I moved VM resources between resource groups so that I could share a dick between virtual machines. The resources all are working and there appear to be no active resource locks using
az lock list --resource-group GROUPNAME --output table. When I use the az command az group show --name GROUPNAME --query "properties.provisioningState" I get the following response: "MovingResources" The resource group appears stuck in this state and will not allow me to update any of the resources in the resource group. How can I find more information on the move status and when it might resolve? I'm in the middle of a migration and this is blocking me.

Azure Resource Mover
Azure Resource Mover
An Azure service used for moving multiple resources between Azure regions.
{count} votes

1 answer

Sort by: Most helpful
  1. Suchitra Suregaunkar 4,045 Reputation points Microsoft External Staff Moderator
    2025-11-07T03:18:15.7433333+00:00

    Hello **Grayland Lunn**Thank you for posting your query on Microsoft Q&A platform.

    Moving a resource is a complex operation with different phases. It can involve more than just the resource provider of the resource you're trying to move. Azure Resource Manager allows a move operation four hours to finish because of the dependencies between resource providers. This duration gives them time to recover from transient issues. If your move request is within the four-hour period, the operation keeps trying to complete and might succeed. The operation locks the source and destination resource groups during this time to avoid consistency issues.

    • Move operations are allowed four hours to complete. The operation locks the source and destination resource groups during this time to prevent them from being modified.
    • There are two phases in a move request. Resources move during the first phase, and resource providers that depend on the resources being moved are notified during the second phase. A resource group can be locked for all four hours when a resource provider fails either phase. Resource Manager initiates any failed steps during the span of the move operation.
    • Resource Manager unlocks both resource groups if a resource doesn't move within four hours. Resources that move successfully are in the destination resource group. Resources that fail to move remain in the source resource group.

    To move existing resources to another resource group or subscription, use the Move resources operation.

    POST https://management.azure.com/subscriptions/{source-subscription-id}/resourcegroups/{source-resource-group-name}/moveResources?api-version={api-version}
    

    Specify the target resource group and resources to move in the body of the request.

    {
     "resources": ["<resource-id-1>", "<resource-id-2>"],
     "targetResourceGroup": "/subscriptions/<subscription-id>/resourceGroups/<target-group>"
    }
    
    

    If you need any further assistance, please feel free to reach out.

    Thanks,

    Suchitra.

    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.