Within Azure Data Factory Studio, I get a Failed Connection to my SQL Database

Derek Lilley 20 Reputation points
2025-02-14T00:58:25.4166667+00:00

Below is the error I keep getting, I've read all documentation and tried all steps to ensure identification is all there. I'm stuck and have a client deliverable. I would happily pay extra to get over this hurdle as I need to use the data warehouse asap. Thank you!!

Cannot connect to SQL Database. Please contact SQL server team for further support. Server: 'wells-analytics.database.windows.net', Database: 'wells-forecast-hub', User: '******@storiedanalytics.onmicrosoft.com'. Check the linked service configuration is correct, and make sure the SQL Database firewall allows the integration runtime to access.

Cannot open server "storiedanalytics.onmicrosoft.com" requested by the login. The login failed.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,272 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,327 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sagar Shah 0 Reputation points
    2025-02-14T02:01:56.3833333+00:00

    It looks like you're encountering a SQL Server connection error, specifically related to authentication and access to your Azure SQL Database. This is a common issue when setting up connections for data integration, particularly with Azure Data Factory.

    Check SQL Server Firewall Settings

    • Ensure that the firewall on your SQL Database allows access from your Integration Runtime (IR).
    • Go to your SQL Database on the Azure portal.
    • In the Settings pane, go to Firewalls and virtual networks.
    • Check if your IP address or the IP range of the Integration Runtime is listed under the allowed IPs.
    • You can temporarily allow all Azure services to access the database to troubleshoot if the firewall settings are the problem:
      • In the Firewall settings, enable Allow Azure services and resources to access this server.
    • If everything works, narrow down the access by specifying the IP range of your Integration Runtime or virtual network.

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.