简体   繁体   中英

Azure ADF pipeline not able to connect to Azure SQL

I am trying to run a ADF pipeline and it has to do Copy Data activity, but the linked service (Azure SQL Database) is throwing error.

Connection failed

Cannot connect to SQL Database: 'tcp:xxx.database.windows.net,1433', Database: 'xxx', User: 'xxx'. 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: TCP Provider, error: 0 - No such host is known.), SqlErrorNumber=11001,Class=20,State=0, No such host is known Activity ID: xxx. This may happen if your data source only allows secured connections. If that's the case, please use a VNet integration runtime.

I think the Azure SQL Firewall needs to be updated or allow azure services to communicate in Azure SQL Firewall. I think that should resolve your issue.

There are some alternative

  1. by using Manage Private End Point but in this case your Azure SQL only have Private Access between ADF and Azure SQL.
  2. by using Exception

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM