Share via

Configuring failover endpoint in Azure AI search datasource, for a multi region Azure SQL managed instance database

Karthik P 0 Reputation points Microsoft Employee
2026-04-23T06:08:59.4366667+00:00

Hi we have the following database configuration We are using Azure SQL Managed Instance where we have 2 database instances

  1. 1 in NCUS region
  2. Other in SCUS region

Now one of them acts as primary and other acts as secondary.

We also have enabled CDC in few tables that we populate to Azure AI search. Currently we have the following datasource configuration,

  1. Datsource_ncus -> reads from the CDC table NCUS region
  2. Datasource_scus -> reads from the CDC table in SCUS region

We also have configured indexers the following way

  1. Indexer_ncus -> uses the datasource_ncus and populates the index_1
  2. Indexer_scus -> uses the datasource_scus and populates the index_1

Now since only 1 database can be primary, for example here lets say NCUS is primary, the indexer of SCUS keeps failing (which we allow to fail) We also have configured failover endpoint for the above 2 database instance, so they are part of a failover group What i want to understand is, if we can use this failover endpoint, instead of having a seperate datasource and indexer for the database in 1 region.  

By doing that, we avoid having multiple indexers and datasources. We will just have 1 datasource and 1 indexer, and datasource would always resolve to the primary instance.

Can you please help in how i can configure this? There seems to be no documentation available

Azure AI Search
Azure AI Search

An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.


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.