How to migrate Azure VM from one tenant to another tenant

Amit Badgujar 46 Reputation points
2021-02-04T09:58:02.833+00:00

I want to Move/Migrate Azure VM from one tenant to another tenant.

Could someone please provide me guide link how should I do this ?

Note :

I'm not asking for Move VM from one subscription or region to another subscription or region.

Here I'm only asking for, Move VM from one tenant to another tenant.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,688 questions
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,311 Reputation points
    2021-02-04T11:53:45.663+00:00

    Hello @Amit Badgujar · Welcome to Q&A platform and thank you for your query.

    Tenant contain Identities but not resources (like VMs, Storage Accounts, Key Vaults etc.). Resources are always created under subscription(s). A subscription can be associated to one tenant at a given point in time. So, when you say "Move VM from one tenant to another tenant", you actually move the VM from a subscription associated with one tenant to another subscription associated with the other tenant.

    Additional info: https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    2 people found this answer helpful.

5 additional answers

Sort by: Most helpful
  1. Paul DeLasaux 21 Reputation points
    2021-12-05T20:38:04.54+00:00

    This question is not answered.

    "Howto migrate a VM between two subscriptions in separate tenants?" is the clear question above.

    Please provide an answer to the question above as there are additional engineers and technicians that are facing this issue everyday.

    4 people found this answer helpful.
    0 comments No comments

  2. Joshua Lovelace 21 Reputation points
    2021-12-06T23:36:12.99+00:00

    @AmanpreetSingh-MSFT has provided the correct answer. Resources may not be moved between tenants - Subscriptions may.

    If you're looking to migrate a number of resources, I would recommend creating a separate migration Subscription which may be re-associated to the target tenant.

    If you're looking to move a single VM, my suggestion would be to:

    1. Pull an ARM template of the resource - search for docs on how to do this, it's not difficult.
    2. Redeploy a copy of the resource using the ARM template in the target tenant wherever you like.
    3. Copy the data of the VM to the newly-redeployed VM in the target tenant. There are a variety of methods to do this, but the article referenced by @Frank van Graafeiland would be simple and sufficient for anybody.
    4 people found this answer helpful.
    0 comments No comments

  3. Tom Howarth 11 Reputation points
    2021-11-18T13:37:47.09+00:00

    The answer does not reflect what the OP actually asked, the question was how to move a resource (VM) from one subscription in Tenancy A to another subscription in Tenancy B, not how to move a subscription between tenancies. Moving a subscription from Tenancy A to Tenancy B just to move a resource is like using a sledgehammer to crack a walnut, it will work but it is over kill.

    Please provide an answer on How to simply move a resource from one tenancy to another.

    2 people found this answer helpful.
    0 comments No comments

  4. Asuzano, Chris David 5 Reputation points
    2023-10-10T01:31:57.8333333+00:00

    I am asked to do this as well. Can someone provide a concrete answer based on experience? Appreciate it!

    1 person found this answer helpful.
    0 comments No comments