Skill 3.2.3

Move a virtual machine to another resource group, subscription, or region

Key Concepts

Moving to another resource group or subscription uses Move on the resource group or resource page, az resource move or Move-AzResource. The VM and its dependent resources, such as managed disks, network interfaces and public IPs, are usually moved together, and the portal validates the move first. The VM keeps running, the resource IDs change and the target subscription must be in the same Microsoft Entra tenant, have the resource providers registered and have enough quota. A VNet moves with all the resources that use it.

Moving to another region recreates the resources there. Azure Resource Mover collects the VM and its dependencies, validates them, prepares and initiates the move (using Site Recovery replication for VMs), then commits it and removes the source resources. Azure Site Recovery can also replicate a VM to another region and fail it over. Alternatively, an administrator can redeploy from a template or restore from a backup.