Not able to create a new SQL server linked service using azure data factory

Pratisti Satardekar 130 Reputation points
2023-10-11T08:16:56.1733333+00:00

Hi,

Im able to connect to the DB through microsoft sql server management studio, powerApps, powerBI but not able to create an linked service using the same.
User's image

User's image

im getting the following error:

Cannot connect to SQL Database. Please contact SQL server team for further support. Server: 'XXXX001.database.windows.net', Database: 'XXXX-001', User: 'XXXXApp'. 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

Can you please guide me through.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Answer accepted by question author
  1. Smaran Thoomu 32,520 Reputation points Microsoft External Staff Moderator
    2023-10-11T15:24:09.7966667+00:00

    @Pratisti Satardekar

    Thank you for reaching out with your query. In additional to @Nandan Hegde
    As per error message suggests that the linked service configuration may not be correct, and the SQL Database firewall may not allow the integration runtime to access. It could be several reasons for this error, including incorrect linked service configuration, firewall settings, network connectivity issues or authentication issues. When I tried to repro its working fine.
    If you encounter any error code, could you please share it with us?
    User's image

    Meanwhile you can follow the below steps:

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

    Additional Information:

    I hope this helps you resolve the issue. If you have any further questions or concerns, please don't hesitate to ask.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.