Assistance Needed: Error Setting Up Azure Linked Service for On-Premises SQL Server

Harikrishnan Arayakeel 20 Reputation points
2024-12-13T16:13:09.6433333+00:00

Hi, I am trying to set up an Azure Linked Service to connect to an on-premises SQL Server. I attempted to use the SQL Server connector but encountered an error. I have attached the error details for your reference.

The settings I used are as follows:

  • Integration Runtime: AutoResolveIntegrationRuntime
  • Version: Recommended Attaching image: 41.png

Could you please assist in resolving this issue?

Azure SQL Database
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,093 questions
{count} votes

2 answers

Sort by: Most helpful
  1. VINODH KUMAR T D 26,141 Reputation points MVP
    2024-12-13T17:46:38.03+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    The error you’re encountering typically indicates a configuration issue with the linked service in ADF:

    1. Check Auth Settings:
      • Ensure you have provided the correct authentication method (ex: managed identity, service principal, or SQL authentication) based on your Azure SQL Database or other linked service requirements.
      • If using a managed identity, verify that it has the required permissions on the target resource (ex: Azure SQL or Storage).
    2. Validate Connection Details:
      • Double-check the server name, database name, and any other credentials.
      • Ensure the server firewall rules allow access from ADF’s IP address or that the ADF is integrated with a VNet that has access.
    3. Enable Integration Runtime:
      • Confirm that the correct IR is selected and configured properly. For Azure SQL DB, an Azure IR is usually sufficient.
    4. Test the Connection:
      • Use the "Test Connection" feature in ADF to verify if the linked service can connect successfully. This will often provide more specific error messages if something is misconfigured.
    5. Firewall and Network:
      • Ensure your database or service has the required firewall rules to allow ADF access.

    If these steps don’t resolve the issue, providing specific details of the error message or the linked service configuration can help narrow down the problem further.

    Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.

    0 comments No comments

  2. Harikrishnan Arayakeel 20 Reputation points
    2024-12-16T09:56:08.3166667+00:00

    Hi, I have checked these setting with our team,

    Check Authentication Settings: Confirmed with IT that the correct authentication method is configured.

    Validate Connection Details: Confirmed the server name, database name, and credentials with IT.

    I’m not sure how to verify if the server’s firewall rules allow access from ADF’s IP address or if ADF is integrated with a VNet that has access ?

    Enable Integration Runtime: We are using Azure Integration Runtime (IR), and it’s already working successfully with other connections for testing.

    Firewall and Network: How can I confirm if the database or service has the required firewall rules to allow ADF access ? Looking towards for your response


Your answer

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