Possible to create a Failover group cross subscription for SQL Paas?

Paul Vermij 21 Reputation points
2022-10-26T09:21:44.427+00:00

Does anyone know if it's is/should be possible to setup a fail-over group for SQL PaaS databases/servers with the secondary server running in a different subscription (but same tenant)?
I've come across an article that describes this setup for a managed instance, but I haven't been able to find anything on SQL PaaS..

The method of setup doesn't matter that much to me, but before I dive in it would be nice to at least know if it's possible or not :)

Azure SQL Database
{count} votes

Accepted answer
  1. SSingh-MSFT 16,371 Reputation points Moderator
    2022-10-31T07:06:42.39+00:00

    Hi @Paul Vermij ,

    Thanks for your patience.

    This feature has been enabled last month and is documented here.
    It's possible to deploy auto-failover group across subscriptions for single databases by using the -PartnerSubscriptionId parameter in Azure Powershell starting with Az.SQL 3.11.0.
    To learn more, review the following Example.

    Hope this will help. Please let us know if any further queries.

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

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Paul Vermij 21 Reputation points
    2022-11-10T10:38:58.303+00:00

    Just a followup question, is it to be expected that the portal will have some issues with a setup like this for the moment?
    I noticed that although the portal shows the FG just fine, but adding DBs through the portal isn't possible as it keeps trying to connect to the secondary server through the subscription ID of the primary server.
    That's easily solved by adding them through powershell, but after adding the DBs the portal isn't showing any info on the secondary DBs.
    For instance, the 'overview' tab just keeps loading endlessly and when checking the replication status from the secondary DB the primary DB is marked as 'offline' , viewed from the primary it shows primary as online and the secondary as 'readable' but isn't able to show the pricing tier.

    Al this isn't a very big deal as we should be able to check the sec. DB in other ways, but we (myself and our customer) would like to double check if this is expected behavior at least for the moment.


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.