Azure VM migration

HASSAN BIN NASIR DAR 351 Reputation points
2025-02-03T22:29:43.0566667+00:00

Hi

I have multiple VMs on different Azure tenants. We want to migrate (lift and shift) all VMs into a single tenant. How is this possible? I have read some Microsoft documents, but they contain a lot of information. Can you provide a practical solution with straightforward steps and to-the-point information?

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
866 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Naveena Patlolla 400 Reputation points Microsoft Vendor
    2025-02-04T05:35:13.6866667+00:00

    Hi @HASSAN BIN NASIR DAR

    Welcome to Microsoft Q&A Forum, thank you for posting your query here!

    Moving a Server from Tenant A to Tenant B

    Solution 1: Using Azure Migrate

    1. Treat the servers in Tenant A as physical servers in Azure Migrate.
    2. Deploy Azure Migrate in Tenant A.
    3. Install the Mobility Agent on each server.
    4. Migrate the servers to Tenant B using Azure Migrate.
    5. Important Consideration:
    • Managed Identities, RBAC roles, and App Registrations will not move automatically to Tenant B.
    • Refer to Azure Migrate Documentation for detailed steps.

    Solution 2: Snapshot & VHD Export Method

    1. Create a Snapshot: Take a snapshot of the source disk in Tenant A.
    2. Export the Snapshot: Convert the snapshot into a VHD file and store it in a Storage Account within Tenant A.
    3. Copy the VHD to Tenant B:
    • Use AzCopy to transfer the VHD file from Tenant A to Tenant B:
           azcopy copy "<SAS_URL_FROM_TENANT_A>" "<SAS_URL_FROM_TENANT_B>"
      
    1. Create a Managed Disk: In Tenant B, create a new managed disk from the copied VHD.
    2. Create a New VM:
    • Use the managed disk to create a new VM in Tenant B.
    • Attach any additional data disks as needed.

    If you Want to Transfer Entire Subscription from Tenant A to Tenant B, please refer below Article.

    https://learn.microsoft.com/en-us/azure/role-based-access-control/transfer-subscription#understand-the-impact-of-transferring-a-subscription

     Feel free to reach out if you have any further questions or need additional information—I’m happy to assist!

    Please provide your valuable comments User's image

    Please do not forget to "Accept the answer” and “upvote it” wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.