Hi @Deba Nayak ,
Welcome to Microsoft Q&A forum and thanks for reaching out here.
As per my understanding, you would like to know how to establish connection to Synapse Serverless SQL DB from another Synapse instance. Please correct me if I misunderstood the ask.
In order to establish connection to Synapse Serverless SQL, you can utilize Azure SQL DB linked service or Azure Synapse Analytics linked service. I tried with both and was successful with Azure SQL database linked service but not Azure Synapse analytics linked as I noticed a bug with it hence escalated to respective product team.
Coming back to Azure SQL DB linked service, you will have to first create dummy Azure SQL DB linked service and then update linked service - FQDN to 'Serverless SQL endpoint (krpakalasynapse-ondemand.sql.azuresynapse.net
)' and DB name to Servereless DB name
which you would like to connect to and then test the connection.
Note: Please make sure that you create a login and user for the Synapse instance from which you are trying to connect as explained in this article: Read data from Azure Synapse Serverless SQL Pools with Azure Data Factory
Below is sample:
CREATE LOGIN [Managed identity name of Synapse from which you want to connect]
FROM EXTERNAL PROVIDER;
CREATE USER [Managed identity name of Synapse from which you want to connect]
FROM LOGIN [Managed identity name of Synapse from which you want to connect];
ALTER ROLE db_datareader ADD MEMBER [Managed identity name of Synapse from which you want to connect];
Test output:
Hope this info helps.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.
Hi @KranthiPakala-MSFT ,
As you mentioned I am trying to connect using the Azure SQL connector, and now I have another issue. My synapse instance is in managed virtual network, and I need a private end point to connect/use the linked service. The problem is creating the end point, even though I have a synapse private end point available, it is not being listed as I am using Azure SQL connector.
Is there a way to work around it as we can not use the Synapse connector?
@Deba Nayak - Thanks for your response and additional context of your criteria. I will try out your scenario and will keep you posted as soon as I have my findings ready.
We appreciate your patience.