Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Foundry IQ (Azure AI Search) provides direct indexing and query APIs alongside higher-level knowledge source and knowledge base APIs for managed retrieval. Use the Azure portal, REST APIs, or Azure SDKs to configure these capabilities, or connect agents to knowledge bases in the Microsoft Foundry portal.
An Azure SQL indexer connects Foundry IQ (Azure AI Search) to external data sources over a public endpoint. If you're setting up a connection to Azure SQL Managed Instance, follow the steps in this article to ensure the public endpoint is set up correctly.
Alternatively, for private connections, create a shared private link instead.
Note
Always Encrypted columns are not currently supported by Foundry IQ indexers.
Enable a public endpoint
This article highlights just the steps for an indexer connection in Foundry IQ. If you want more background, see Configure public endpoint in Azure SQL Managed Instance instead.
For a new SQL Managed Instance, create the resource with the Enable public endpoint option selected.

Alternatively, if the instance already exists, you can enable public endpoint on an existing SQL Managed Instance under Security > Networking > Public endpoint > Enable.

Get public endpoint connection string
To get a connection string, go to Settings > Connection strings.
Copy the connection string to use in the search indexer's data source connection. Be sure to copy the connection string for the public endpoint (port 3342, not port 1433).
Next steps
With configuration out of the way, you can now specify a SQL managed instance as an indexer data source using the basic instructions for setting up an Azure SQL indexer.