Share via

Can a SQLServer 2016 AG with one database be setup with two separate Managed Instance Links?

Abimbola Adeniran 106 Reputation points
2026-02-13T20:22:46.6633333+00:00

I’m planning a migration of a SQL Server 2016 Always On AG with a single 4TB database to Azure SQL Managed Instance. We already have one MI acting as a read‑replica for reporting and analytics.

As part of the migration, I’m considering deploying a second MI to become the new primary target, and then reseeding the existing read‑replica MI afterwards via CDC for ETLs, ADF, Fabric.

Before proceeding, I need to confirm:

Can a SQL Server 2016 AG with a single 4TB database establish two separate Managed Instance Links to two different Managed Instances at the same time?

If yes, what happens to the other MI Link and its target when one of the MI Links is promoted as the primary replica?

SQL Server | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Manoj Kumar Boyini 9,180 Reputation points Microsoft External Staff Moderator
    2026-02-14T01:00:38.8133333+00:00

    Hi Abimbola Adeniran,

    Yes, a SQL Server 2016 database can establish multiple Managed Instance Links at the same time, provided each link connects that database to a different Azure SQL Managed Instance. Each link is implemented as a separate distributed availability group, so multiple links can coexist for the same database when targeting different MIs.

    However, for SQL Server 2016 sources, it’s important to understand the behavior during cutover. When you promote (fail over) to one Managed Instance, that MI becomes the new primary and the distributed availability group used for that link is removed. Because SQL Server is no longer acting as the source after cutover, any other Managed Instance links that depended on it will stop synchronizing. Those additional MIs must then be reseeded or reconfigured from the new primary.

    Key points

    Multiple links from one database to different Managed Instances are supported.

    Cutover to a Managed Instance is a one-way migration event for SQL Server 2016.

    After cutover, other replicas must be reseeded or linked from the new primary.

    Helpful reference:
    https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/managed-instance-link-feature-overview?view=azuresql
    https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/managed-instance-link-configure-how-to-scripts?view=azuresql&tabs=sql-server
    https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/managed-instance-link-failover-how-to?view=azuresql&tabs=tsql

    Hope this helps, Please let us know if you have any questions and concerns.


3 additional answers

Sort by: Most helpful
  1. Mladen Andzic - Msft 11 Reputation points Microsoft Employee
    2026-02-18T21:03:31.84+00:00

    Yes, you can replicate a single database in AG from SQL Server 2016+ to multiple Azure SQL MIs using the link feature.

    Step-by-step process is described in this video on the Azure SQL channel:

    https://youtu.be/a3d6jDuM5RA

    You promote your managed instance to primary by simply deleting its link, since there's no failover capability for MI link in SQL Server versions 2016 - 2019. It doesn't affect the other link in any way.

    Note that database on the second (reporting) instance remains in read-only mode as long as it's linked to your SQL Server. You'll need to break that link before reseeding the second MI from your primary MI.

    1 person found this answer helpful.

  2. Erland Sommarskog 133.1K Reputation points MVP Volunteer Moderator
    2026-02-16T21:46:59.7333333+00:00

    I found interesting that the AI answer said "no, you cannot do that" and Manoj gladly said "yes, you can do that!".

    I had a hinch that the AI was right, but since this is not really an area where I can claim expertise, I reached out to some MVP friends how know this stuff well. And they confirmed what I thought: A database can only be part of one DAG (Distributed Availability Group), and an MI Link is built on a DAG.

    However, what should work is to have an MI link to an MI with a readable secondary. That is, Abimbola would use the same MI link for both migration and the readable secondary. I don't have all steps, but I suspect that you may to stop the current MI link and start over. Also, I believe that to have a readable secondary, you need to have Business Critical, so if you are General Purpose today, this means that the cost will go up quite a bit.


  3. Q&A Assist
    2026-02-13T20:22:57.3766667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    A SQL Server 2016 Always On Availability Group (AG) can establish multiple Managed Instance Links, but there are specific limitations to consider. Each Managed Instance Link is database scoped, meaning you can only have one link per database. However, you can create multiple links from a single SQL Server instance to different Azure SQL Managed Instances, provided that each link is configured for a separate database.

    In your case, since you have a single 4TB database in the AG, you would not be able to set up two separate Managed Instance Links for that same database simultaneously. If you attempt to do so, the existing link would need to be removed before establishing a new one.

    When one Managed Instance Link is promoted as the primary replica, the other link to the second Managed Instance would be affected as follows: the link that is not promoted would remain in its current state, but you would not be able to failover or promote both links simultaneously for the same database. Essentially, promoting one link would break the existing link to the other Managed Instance, as only one link can be active for a database at any given time.

    Therefore, for your migration strategy, you would need to consider establishing the links sequentially rather than concurrently for the same database.

    0 comments No comments

Your answer

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