How to Move an Azure VNet Between Subscriptions
How to Move an Azure VNet Between Subscriptions
Moving a Virtual Network (VNet) from one Azure subscription to another is a common requirement during subscription restructuring, consolidations, or billing changes. Thankfully, Azure provides a built-in service to facilitate this: Azure Resource Mover.
Use Azure Resource Mover
Azure Resource Mover enables you to move supported resources — including VNets — between regions or subscriptions.
Pre-Move Checklist:
- Unpeer the VNet: If your VNet is peered with other VNets, you must delete all peering connections before the move. Peering links are not transferable across subscriptions.
- Check dependencies: Ensure dependent resources (e.g., VMs, NICs, NSGs, route tables) are either moved along with the VNet or detached beforehand.
- Permissions: You need appropriate permissions (Owner or Contributor) in both the source and target subscriptions.
Steps to Move a VNet:
- Navigate to Azure Resource Mover in the portal.
- Select your source subscription and region.
- Choose the VNet you want to move.
- Review dependencies and select additional resources to include in the move.
- Choose the target subscription and resource group.
- Initiate the move by selecting “Start Move”.
Post-Move Considerations:
- Recreate VNet peering in the new subscription if needed.
- Update references in other resources (e.g., firewalls, service endpoints).
- Double-check NSGs and route tables for any issues post-migration.
Pro Tip:
Always test the move in a non-production environment first, especially if your VNet is part of a complex topology. Azure will perform a validation check, but manual review is wise.
Leave a Reply