Moving Resources
resource group and subscription moves · dependencies · locks · VM limits · region moves with Resource Mover
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Resource group and subscription moves
- You can move resources between resource groups in one subscription or across subscriptions. For a cross-subscription move, both subscriptions must be in the same Microsoft Entra tenant. Moving across tenants is not supported.
- A move changes the resource group (and subscription) and so the resource ID. It does not change the physical region. Update dashboards, scripts and templates that use the old ID.
- During the move the source and target resource groups are locked: no create, delete or update in those groups (for example you cannot resize a VM or delete the RG). Existing resources keep running with no downtime. The lock can last up to 4 hours; Resource Manager unlocks after 4 hours. Resources that succeeded stay in the target, failed ones stay in the source.
- Source and destination resource groups cannot take part in another move at the same time.
- Specify only top-level (parent) resources. Child resources, such as VM extensions, move with the parent and cannot be moved alone.
- A read-only lock on the source RG, destination RG or subscription blocks the move.
- You cannot move a resource group itself to another subscription. Move all its resources into an RG in the other subscription.
- More than 800 resources in one move operation returns an error immediately. Fewer can still time out.
- Role assignments do not move: an active role assignment on a moved resource becomes orphaned and must be recreated. Tags, role assignments and policies do not transfer from the RG to the destination RG.
Permissions and checks
| Item | Detail |
|---|---|
| Source resource group | Microsoft.Resources/subscriptions/resourceGroups/moveResources/action |
| Destination resource group | Microsoft.Resources/subscriptions/resourceGroups/write |
| Subscriptions | Both active. The destination must be registered for the resource provider of each moved resource type (error “subscription isn’t registered for a resource type”). Check quota in the destination. |
| Dependent resources (cross-subscription) | The resource and its dependents must be in the same RG and moved together. For a VM that can mean the VM, disks, NIC, public IP, NSG, vnet (and a diagnostics storage account). Error MissingMoveDependentResources lists what to add. Steps: consolidate into one RG, move together, optionally redistribute. |
| Validation | Automatic when you submit a move, and the portal validates before it moves. You can also run validate-only (validateMoveResources). Policy can fail validation (RequestDisallowedByPolicy). |
| Virtual networks | If a source or target RG contains a vnet, the states of all resources that depend on it (even outside the move) are checked. Any not in Succeeded state blocks the move (MoveCannotProceedWithResourcesNotInSucceededState). |
VM-specific move rules
- ADE VMs: can move to another RG only when deallocated. To move to another subscription, disable encryption first.
- Disks with customer-managed keys can move to another RG only if the attached VM is deallocated. Disks, snapshots and images with CMK cannot move between subscriptions.
- Disk encryption sets cannot be moved (RG, subscription or region). Key Vaults used to encrypt disks cannot be moved to another RG or subscription.
- Marketplace VMs with plans cannot move across subscriptions. Workaround: recreate in the new subscription from a cloned OS disk and accept the plan terms.
- Low-priority VMs and scale sets cannot move across RGs or subscriptions. VMs in an availability set cannot move individually. VMs using scheduled patching cannot move across RGs or subscriptions. A VMSS with a Standard SKU Load Balancer or Standard SKU Public IP cannot be moved.
- A VM in an existing vnet can move to a new subscription only if the vnet and all its dependents move too.
- VMs with Azure Backup: delete the restore point collection (instant recovery snapshots named
AzureBackup_<VM name>_…inAzureBackupRG_<location>_1) before the move. This removes only instant recovery points, not vault data. Then move and reconfigure backup. With soft delete enabled you cannot move while those restore points are kept: disable soft delete or wait 14 days after deleting. - Move support: VMs, disks, availability sets and VM extensions move between RGs and subscriptions. Full snapshots yes, incremental snapshots no. Images yes (no region move). Galleries and restore point collections: no. NICs, NSGs, vnets and public IPs move between RGs and subscriptions; Standard SKU load balancers cannot move across subscriptions. Recovery Services vaults move between RGs and subscriptions but not across regions through Azure Backup.
Moving to another region: Azure Resource Mover
- The portal Move button on a resource group offers a new resource group, a new subscription or a new region. A region move goes to Azure Resource Mover.
- Resource Mover moves across regions: Azure VMs and their disks (Spot VMs not supported), encrypted VMs (ADE, and SSE with platform-managed or customer-managed keys), NICs, availability sets, vnets, public IPs (not retained), NSGs, load balancers, Azure SQL databases and elastic pools. It uses Azure Site Recovery on the backend to replicate VMs.
- You cannot select disks directly. Disks move as part of the VM.
- Microsoft's pages differ on whether Resource Mover can change subscription and region in one step (the Resource Mover FAQ says two steps: region first, then an Azure Resource Manager move; the VM tutorial says one attempt). Do not rely on either for the exam; use Resource Manager move to change subscription.
- Permissions: the first add of a source and destination pair needs Owner on the subscription. The system-assigned managed identity needs Contributor plus permission to create role assignments (Owner or User Access Administrator).
- VM support: at least 2 cores and 1 GB RAM; temp disk excluded; extensions and Azure RBAC not copied; Linux Trusted Launch VMs not supported (Windows is); VMs already using Site Recovery not supported (disable replication first); unmanaged disks not supported (convert to managed); a static IP needs the same IP free in the target subnet or initiate fails; public IP and vnet peering not retained.
- Prerequisites: VMs turned on, all disks attached and initialized, latest trusted root certificates, outbound connectivity to the required services on HTTPS 443.
Resource Mover steps
| Step | State afterwards | What happens |
|---|---|---|
| 1. Add resources | Prepare pending | Pick source and destination region and the VMs. The VM’s resource group is added automatically. |
| 2. Validate and add dependencies | Validation runs in the background. Select Add dependencies (direct and indirect, such as NIC, vnet, NSG). | |
| 3. Prepare | Initiate move pending | Mobility agent installed on the VMs, data replicated to the target (source VM unaffected), ARM templates generated for other resources. The target VM size must not be smaller than the source. |
| 4. Initiate move | Commit move pending | Replica VM created in the target and the source VM is shut down (short downtime, usually minutes). Other resources are recreated from templates (usually no downtime). |
| 5. Commit or Discard | Delete source pending (commit) | Commit completes the move and stops replication. Discard returns to Initiate move pending. |
| 6. Delete source (optional) | Afterwards: reapply Azure RBAC, reinstall extensions, re-enable boot diagnostics, uninstall the Mobility service if not needed. |
CLI and PowerShell
| Task | Azure CLI | PowerShell |
|---|---|---|
| Move to another RG | az resource move --destination-group <rg> --ids <id1> <id2> | Move-AzResource -DestinationResourceGroupName <rg> -ResourceId $ids |
| Move to another subscription | Add --destination-subscription-id <sub> | Add -DestinationSubscriptionId <sub> |
| Validate a move | az resource invoke-action --action validateMoveResources --ids <source-rg-id> --request-body "{…}" | Invoke-AzResourceAction -Action validateMoveResources -ResourceId <rg-id> -Parameters @{…} |
| Compare tenants | az account show --subscription <s> --query tenantId | (Get-AzSubscription -SubscriptionName <s>).TenantId |
| Register a provider | az provider register --namespace Microsoft.Batch | Register-AzResourceProvider -ProviderNamespace Microsoft.Batch |
| Find Backup restore points | az resource list --resource-type Microsoft.Compute/restorePointCollections --query "[?starts_with(name,'AzureBackup_<vm>')].resourceGroup" | Get-AzResource -ResourceType Microsoft.Compute/restorePointCollections -Name AzureBackup_<vm>* |
| Delete restore points | az resource delete --ids $RESTOREPOINTCOL | Remove-AzResource -ResourceId … -Force |
| Disable ADE before a subscription move | az vm encryption disable -g <rg> -n <vm> --volume-type all | Disable-AzVMDiskEncryption -ResourceGroupName <rg> -VMName <vm> -VolumeType all |
az resource move and Move-AzResource change the resource group or subscription. They cannot change the region.
Exam Tips
Tick each tip once you can answer it without looking.
“Move a VM to another resource group: does it change region?” → No: only the resource group and resource ID change. Trap: believing a move relocates the VM.
“Move a VM to a different region” → Azure Resource Mover (portal Move › new region). Trap: az resource move or Move-AzResource cannot change region.
“Move a VM to another subscription: what goes with it?” → The VM and its dependent resources (disks, NIC, public IP, NSG, vnet) in one RG, moved together. Trap: moving only the VM.
“Error MissingMoveDependentResources” → Include the dependent resource in the move request. Trap: retrying or moving only the parent.
“Source and target subscriptions are in different Entra tenants” → Move is not supported across tenants. Trap: using az resource move with --destination-subscription-id.
“During the move an admin tries to resize a VM in the source RG” → It fails: both RGs are locked (up to 4 hours) but the VM keeps running. Trap: thinking the move stops the VM.
“Permission needed to move resources” → moveResources/action on the source RG and resourceGroups/write on the destination RG. Trap: Reader, or permission on only the target.
“Error “subscription isn’t registered for a resource type”” → Register the resource provider in the destination subscription. Trap: registering it in the source.
“Test whether a move will work without moving anything” → Validate the move (validateMoveResources, or the portal validation step). Trap: doing the move and rolling back.
“Move 1,000 resources in one request” → Error above 800: split into several operations. Trap: assuming it just takes longer.
“Role assignments after moving a resource” → They do not move and become orphaned: recreate them. Trap: assuming RBAC is preserved.
“Move a resource group to another subscription” → Not possible for the RG itself: move its resources into an RG in the target subscription.
“VM protected by Azure Backup must be moved” → Delete the restore point collection (AzureBackupRG_<location>_1), move, then reconfigure backup; with soft delete wait 14 days or disable it. Trap: deleting the vault backup data.
“Marketplace VM with a plan to another subscription” → Not movable: recreate it from a cloned OS disk and accept the plan terms in the target. Trap: az resource move.
“ADE VM to another subscription” → Disable encryption first (to another RG it only needs to be deallocated).
“Order of a Resource Mover VM move” → Add resources, resolve dependencies, Prepare, Initiate move, Commit (or Discard), Delete source. Trap: committing before initiating.
“First-time add in Resource Mover” → Needs Owner on the subscription (or Contributor plus User Access Administrator). Trap: Contributor alone.
“Public IP after a Resource Mover move” → Not retained (new address); extensions and RBAC are not copied; vnet peering not retained. Trap: expecting the IP to carry over.
“Add a VM’s disks to Resource Mover one by one” → Not possible: disks move as part of the VM.
“Disk encryption set or Key Vault used for disk encryption” → Cannot be moved between RGs or subscriptions. Trap: az resource move of the DES.
Sources
- Move Azure resources to a new resource group or subscription
- Special cases to move Azure VMs
- Azure resource types for move operations
- What is Azure Resource Mover?
- Move Azure VMs across regions with Azure Resource Mover
- Support matrix for moving Azure VMs with Resource Mover
- Common questions about Azure Resource Mover
- Server-side encryption of Azure managed disks (customer-managed key move restrictions)
Checked against Microsoft Learn on November 13, 2026.