How to Move/Migrate Azure VM from one tenant to another tenant.

thanakrit rungchatkamol 1 Reputation point
2024-09-26T15:37:05.47+00:00

Hi All,

I have eight Azure VM on one tenant. when current CSP expire on one tenant in next month, I'd like to move them Azure VM and other services within one tenant to a new tenant.

How i Move/Migrate Azure VM from one tenant to another new tenant for mininal impact application running on those Azure VM?

BR,

Thanakrit

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,898 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
801 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,771 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshukatara-6769 9,270 Reputation points
    2024-09-26T15:54:57.93+00:00

    The Azure Resources like VMs are always associated with a subscription. So basically you need to move your VMs from one subscription in Tenant A to a subscription in Tenant B.

    Now If you want to migrate one VM, in Tenant A, you can use Azure Storage Explorer (https://azure.microsoft.com/en-us/products/storage/storage-explorer/#overview) and Copy the Disk for the VM from Tenant A and paste it to Tenant B. You need to repeat this for each disk associated with your VM. Once the new disks are created you can create a new VM in Tenant B by attaching the disks that you already pasted in Tenant B.

    Refer: https://www.remotelyrmm.com/blog/how-to-migrate-an-azure-virtual-machine-from-one-tenant-to-another

    If you have one or two VMs, you can follow the above method.

    But in case you have many resources follow the below steps.

    1. Create subscription in Tenant A (This subscription is for migration purpose) and move all your resources that needs to be moved to this subscription. Refer: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/move-resource-group-and-subscription
    2. Once you moved all your resources to a subscription in Tenant A, then move that subscription to Tenant B. Refer: https://learn.microsoft.com/en-us/azure/role-based-access-control/transfer-subscription

    Hope this helps

    Please let us know if any questions

    Thanks

    Deepanshu


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.