Moving an Azure Sql Server to another subscription in another tenant

Peter Bons 151 Reputation points
2021-08-13T07:01:35.177+00:00

We are planning to move a sql server containing a elastic pool with 8 databases to another subsciption in another tenant. So far we have come up with these steps:

  1. Create a new subscription (TMP) in the source tenant
  2. Move the server to this new subscription (TMP)
  3. Transfer ownership of the new subscription to the destination tenant
  4. Move the server to the final destination subscription
  5. Remove the now obsolete subscription (TMP) from the destination tenant

My questions are:

  • Is this a good approach and are there any thing we need to be aware of? I suppose we need to correct the Azure Active Directory admin after the movement has completed but that is all I can think of.
  • One of the databases does have geo replication enabled, is that something we need to address or not?
  • What are the risks involved, will there be any downtime? What happens if there is a failure in one of the steps?
Azure SQL Database
{count} votes

Accepted answer
  1. KalyanChanumolu-MSFT 8,316 Reputation points
    2021-08-13T08:39:55.15+00:00

    @Peter Bons Thank you for reaching out.

    For moving elastic pools, you can use Azure Resource Mover. It can help you in validating the dependencies and guide you through the process.

    123062-image.png

    We have a tutorial published here to walk you through the process. Though the tutorial talks about resource movement between regions, the process is similar for moving resources across subscriptions as well.

    You may experience a minor downtime during the commit phase when the database switches to the new host.
    It is recommended that you try this with a non-production database first to estimate the time required for the move and plan your production move accordingly.

    ----------

    If an answer is helpful, please "Accept answer" or "Up-Vote" which might help other community members reading this thread.
    And if you have further questions or issues, please let us know.

    1 person found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Prashanth Kasamsetty 21 Reputation points
    2022-05-20T12:41:44.467+00:00

    Resource mover will move the resources to same tenant but not between 2 different tenants. Can someone update if there is any approach that exists to move the dbs between 2 tenants?

    4 people found this answer helpful.

  2. Sae In Choi 6 Reputation points Microsoft Employee
    2022-05-16T05:49:17.527+00:00

    It means Azure SQL MI data migration between tenant is supported by Azure Resource Mover?


  3. McNew, Darren 0 Reputation points
    2023-04-05T17:41:52.31+00:00

    What a great article. Super helpful for what I'm getting ready to do. What time frame or how long roughly did this take? To move one server to a new destination tendency and change the subscription? Thanks


  4. GeethaThatipatri-MSFT 29,017 Reputation points Microsoft Employee
    2024-07-24T22:13:08.0766667+00:00

    @Prashanth Kasamsetty You have three options to copy your Azure SQL database from one of servers to another on a different subscription and different tenant (Microsoft Entra). The options are mentioned in detail in the following document. copy Azure SQL to another subscription and tenant (microsoft.com)

    https://learn.microsoft.com/en-us/archive/technet-wiki/51360.azure-how-to-move-resources-between-subscriptions-under-different-tenants

    Regards

    Geetha

    0 comments No comments