Failed to start virtual machine 'sh-avd-0'. Error: The resource group 'rg-avd' is being updated and cannot perform this operation.

Joey Verlinden 0 Reputation points
2025-12-04T12:24:52.6733333+00:00

Tried to move all resources within a single resource group to a different subscription via the azure portal. Logs seem to show that everything is being moved. Azure Source Mover does not show any jobs/tasks.

Cannot start VM's. Failed to start virtual machine 'sh-avd-0'. Error: The resource group 'rg-avd' is being updated and cannot perform this operation.

When troubleshooting i see there is still something running (which i cannot see anywhere)?

Command: az group show -n rg-avd --query "properties.provisioningState" -o tsv

Output: MovingResources

Since i'm not using Resource Mover but simply selected the API to cancel it. I don't have any Move Collection Name.
https://management.azure.com/subscriptions/{yourSubscriptionId}/resourceGroups/{yourResourceGroup}/providers/Microsoft.Resources/moveResources/{yourMoveCollectionName}/cancel?api-version=2021-08-01

  • Did you receive any specific error messages during the move operation? -> No
  • How long has the resource group been stuck in this state? -> 4 Hours

Not sure if move operation will unlock source and destination resource group.. Will wait a while longer.

Updated: Needed to wait a bit longer. Locks have been removed now.

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

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-12-04T12:25:04.35+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    When you encounter the error stating that the resource group 'rg-avd' is being updated and cannot perform the operation, it typically indicates that the resource group is still undergoing a move or update operation. This can happen if the move process is taking longer than expected, or if there are dependencies that are still being resolved.

    Here are some steps you can take to troubleshoot this issue:

    1. Check the Provisioning State: You have already done this using the command az group show -n rg-avd --query "properties.provisioningState" -o tsv. If it shows MovingResources, it confirms that the operation is still in progress.
    2. Wait for Completion: Sometimes, the operation may take longer due to various factors such as the size of the resources being moved or the current load on Azure services. It is advisable to wait for a while and check the provisioning state again.
    3. Review Activity Logs: Check the Azure Activity Logs for any errors or warnings related to the move operation. This can provide insights into what might be causing the delay.
    4. Contact Azure Support: If the resources remain in the MovingResources state for an extended period, consider reaching out to Azure support for assistance. They can provide more detailed information about the status of the operation and help resolve any underlying issues.

    In summary, the error indicates that the resource group is still being updated, and it may require some time to complete the operation before you can start the virtual machines again.


  2. Suchitra Suregaunkar 4,045 Reputation points Microsoft External Staff Moderator
    2025-12-04T13:54:04.95+00:00

    Hello Joey Verlinden

    Thank you for posting your query on Microsoft Q&A platform.

    You used the native Azure Resource Manager move ("Move to another subscription/resource group” in the portal). During this operation, Azure locks both the source and the target resource groups. While locked, write/update/delete operations are blocked (starting a VM is a write), even though the resources continue to run. The lock can last up to four hours and is lifted when all provider notifications complete. This behavior is by design.

    The REST path you quoted that includes moveResources/{yourMoveCollectionName}/cancel is for Azure Resource Mover (region moves), which uses move collections. It does not apply to the native subscription/resource‑group move (no move collection exists in that scenario).

    As a resolution let the platform complete or timeout (max ~4 hours):

    The RG lock should automatically clear when the move finishes or fails in backend notification phases. If you are still seeing MovingResources beyond the four‑hour window, proceed with steps 2–4.

    Check control‑plane evidence in Activity Log:

    Use the Activity Log to confirm whether the move operation succeeded, failed, or is still running for rg-avd.

    In the portal: Monitor → Activity log, filter on the resource group and the last 6–8 hours.

     az monitor activity-log list \   --resource-group <> \   --max-events 50 \ 
    
    
    

    Eliminate common blockers and confirm eligibility:

    Locks/Policies: Ensure there are no read‑only locks on source/destination RGs/subscriptions and no policy/deny assignments preventing updates. The move cannot proceed if a read‑only lock exists.

    Same tenant & provider registration: Verify both subscriptions are active and under the same Microsoft Entra tenant, and that the destination subscription is registered for the relevant resource providers.

    Starting a VM requires an update on a resource group. Because the RG is locked by the in‑progress move, Azure blocks the operation until the lock is cleared or the move times 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.