To migrate your virtual machines (VMs) to a new subscription in Azure, you need to follow these steps:
- Ensure Active Subscriptions: Verify that both the source subscription (<PII Removed>) and the destination subscription (<PII Removed>) are active.
- Same Microsoft Entra Tenant: Confirm that both subscriptions are under the same Microsoft Entra tenant. You can check this using Azure CLI or PowerShell to ensure both subscriptions have the same tenant ID.
- Resource Group and Dependencies: Make sure that the resources you want to move (in this case, the VMs) are in the same resource group (vsenterprice) and that any dependent resources are also included in the move operation. For example, if your VMs have managed disks, you need to move the VMs and their associated disks together.
- Supported Resource Types: Verify that the VMs you want to move support the move operation. You can find a list of supported resource types for move operations in Azure documentation.
- Using Azure Resource Mover: To initiate the move, you can use the Azure Resource Mover service. In the Azure portal, search for "resource mover" and follow the steps to select your source and destination subscriptions and regions, then select the resources to move.
- Review and Proceed: After selecting the resources, review the settings and proceed with the move.
By following these guidelines, you should be able to successfully migrate your VMs to the new subscription.
References: