High severitydata source
Power BI Refresh Error:
UserErrorSqlFailedToConnect
What does this error mean?
ADF resolved the SQL server hostname but could not complete the TCP connection or TLS handshake. The server is reachable but the connection is refused or dropped.
Common causes
- 1SQL Server is not configured to allow TCP/IP connections (check SQL Server Configuration Manager)
- 2The SQL Server Browser service is stopped, preventing named instance resolution
- 3TLS certificate mismatch between the ADF integration runtime and the SQL server
- 4SQL Server is configured on a non-default port and the linked service uses port 1433
How to fix it
- 1On the SQL Server machine, open SQL Server Configuration Manager and verify TCP/IP is enabled for the instance.
- 2Verify the SQL Server Browser service is running if using a named instance (e.g., SERVER\INSTANCE).
- 3If using a non-default port, update the linked service connection string to include the correct port.
- 4Check that the TLS/SSL certificate presented by SQL Server is trusted by the integration runtime machine.
- 5Run a connectivity test from the IR machine: Test-NetConnection -ComputerName <sql-host> -Port 1433.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-sql