howto create Azure Synapse dedicated sql pools linked service across azure subscriptions?

94 Views Asked by At

I am trying to pull data from a dedicated sql pool in a different azure subscription, when I try to create the linked service from my target azure synapse workspace using sql authentication, firewall rule is in place and i get the bellow error:

Cannot connect to SQL Database. Please contact SQL server team for further support. Server: '#######', Database: '######', User: '#####'. Check the linked service configuration is correct, and make sure the SQL Database firewall allows the integration runtime to access.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server), SqlErrorNumber=53,Class=20,State=0,
The network path was not found

please advise

1

There are 1 best solutions below

2
Bhavani On

Make sure you have enabled Allow Azure services and resources to access this workspace in synapse workspace network settings as shown below:

enter image description here

It will test successfully as shown below:

enter image description here