Azure Data Factory - Azure SQL connectivity error : Check the linked service configuration is correct, and make sure the SQL Database firewall allows the integration runtime to access. `SqlErrorNumber=53`

Susheel Bojjawar-MSFT 136 Reputation points Microsoft Employee
2021-03-29T16:54:12.25+00:00

While trying to establish connection from Azure Data factory to Azure SQL, getting below error message. Please assist...

SqlErrorNumber=53

Error Message: Connection failed: Cannot connect to SQL Database: 'vm-123-sql-dev', Database: 'DevServer', User: '123-sql-dev-admin'. 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

Activity ID: ac7aba96-53d3-4740-9557-b6da7a6482s3.;

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,643 questions
{count} vote

Accepted answer
  1. HimanshuSinha-msft 19,381 Reputation points Microsoft Employee
    2021-03-30T02:01:02.99+00:00

    Hi,
    Welcome to Microsoft Q&A forum and thanks for reaching out.

    By looking at the error message and the SQL error number, below could be the possible root case and resolution for the issue.

    SqlErrorNumber=53

    ----------

    Thank you
    Himanshu
    Please do consider to click on "Accept Answer" and "Upvote" on the post that helps you, as it can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Nandan Hegde 29,896 Reputation points MVP
    2021-03-29T17:16:20.29+00:00

    Hey, there can be multiple reasons for that.some if them are as below:

    1. check whether the allow azure service property is enabled in Azure SQL server.
      If not then you would have to white list the IP range of the region in which the ADF is created
    2. in case if your source or sink is leveraging an integration runtime,then the azure database must also be accessible from the IR

    Can you please provide the source and sine details of your adf

    2 people found this answer helpful.