Import data from SQL Managed Instance to Azure AI Search

Viswavaageesh Chandramouli 25 Reputation points
2024-09-19T10:22:20.6933333+00:00

How do I connect to an MS SQL Server data base via the Import data option in Azure AI search?

I'm able to connect to an Azure SQL data base but all my data is stored in a SQL Server. My connection string syntax is added below:

Server= ;Database=;Persist Security Info=True;User ID= ;Password= ;Encrypt=False; TrustServerCertificate=True

User's image

Thanks in Advance.

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.
1,339 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Viswavaageesh Chandramouli 25 Reputation points
    2024-09-26T12:16:09.8233333+00:00

    To use private connection to the SQL Managed Instance, please follow the instructions here: https://learn.microsoft.com/en-us/azure/search/search-indexer-how-to-access-private-sql

    Thanks @VenkateshDodda-MSFT

    0 comments No comments

  2. VenkateshDodda-MSFT 24,951 Reputation points Microsoft Employee Moderator
    2024-09-27T06:06:37.9033333+00:00

    @Viswavaageesh Chandramouli Thanks for your patience on this.

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.

    Issue: Customers want to import data from SQL managed Instance to Azure AI Search over Private network.

    Solution:

    To use private connection to the SQL Managed Instance, please follow the instructions here: https://learn.microsoft.com/en-us/azure/search/search-indexer-how-to-access-private-sql

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.


    I hope this helps!

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.

    0 comments No comments

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.