Hi @Johan Ögren
Thanks for the question and using MS Q&A platform.
Azure Cognitive Search does not support direct connectivity to a local SQL database. However, this can be achieved through a workaround by synchronising your local data with a cloud-based storage solution.
The steps are as follows:
Synchronise Data Utilise tools like Azure Data Factory (ADF), SQL Server Integration Services (SSIS), or custom scripts to export data from your local SQL database to Azure Blob Storage or Azure SQL Database.
Leverage Azure Data Factory Install the Self-Hosted Integration Runtime to securely connect Azure services to your local database. Create pipelines to automate periodic or incremental data transfers to the cloud.
Set Up Azure Cognitive Search
Configure your cloud-based data source (e.g., Blob Storage or Azure SQL Database) in Azure Cognitive Search.
Create an indexer to index the data and ensure automatic updates.
Automate Updates Schedule regular synchronisation tasks to keep your data up-to-date with minimal effort and latency.
I hope this information is helpful.
If the answer is helpful, please click "Accept Answer" and kindly upvote it.