An Azure service for ingesting, preparing, and transforming data at scale.
I think that it’s just the sql gw dropping the auth hop for a sec and u can add a tiny retry on that ADF step and it’ll smooth out.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Looking at some of the runs in ADF there are some fails where its states it is unablet to connect to the Azure SQL database and its advising me to check the password. I know the password is correct as you can see on subsequent runs that the pipeline runs. Why is this happening and being cynical is this Microsoft forcing users to re-run something adding additonal cost to the user?
An Azure service for ingesting, preparing, and transforming data at scale.
I think that it’s just the sql gw dropping the auth hop for a sec and u can add a tiny retry on that ADF step and it’ll smooth out.
Hi Andy Roberts,
Thankyou for reaching microsoft Q&A!
you’re absolutely right , if the password or authentication were incorrect, the pipeline would fail consistently rather than randomly. Since later executions succeed using the same credentials, this indicates that authentication is working correctly and the failures are more likely caused by intermittent connectivity or transient platform conditions, not an invalid password.
In Azure Data Factory, when a connection attempt cannot be completed, the service may return a generic authentication or password-related error even if the real cause is different. Temporary network interruptions, firewall refresh, public network access restrictions (such as error 47073), brief Azure SQL resource pressure, token or session refresh, or short-lived backend events can all interrupt the connection momentarily. When the transient condition clears, subsequent runs succeed, which matches the behaviour you’re observing.
This is expected behaviour in distributed cloud environments and is not designed to force reruns or increase customer cost. As a best practice, configuring a retry policy on ADF activities helps absorb these short-lived failures automatically and reduces the need for manual reruns. If needed, we can also review firewall configuration, integration runtime connectivity, authentication method, and SQL resource utilization to identify any intermittent factors contributing to the issue.
There are several reasons why you might encounter connection issues with Azure SQL Database in Azure Data Factory (ADF), even if the password is correct. Here are some potential causes and recommendations:
These issues can lead to intermittent connection failures, and while it may seem like a cost-increasing factor, they are typically related to configuration settings rather than intentional design by Microsoft.
References: