Linked Service to on prem SQL server works everywhere except in data flow

Brian Daddino 0 Reputation points
2025-04-30T12:35:57.73+00:00

I have a lined service to an on prem sql server through a VPN. Test connection works. The linked service works through pipelines as well. However when trying to use it in a Dataflow I get the following error.

Only one valid authentication should be used for XXX. SQLAuthentication is invalid. One of user/password is missing

I have confirmed username and password are entered. Again, it works everywhere except in a data flow.

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

1 answer

Sort by: Most helpful
  1. Venkat Reddy Navari 1,590 Reputation points Microsoft External Staff Moderator
    2025-04-30T14:07:58.8+00:00

    Hi @Brian Daddino The issue you're facing is due to a known limitation. Self-hosted Integration Runtime (SHIR) is not supported in Mapping Data Flows, which is why your linked service works in pipelines but fails in Data Flows.

    Recommended Approaches:

    1. Staging Layer Approach: Use a Copy Activity to move data from your on-prem SQL Server to Azure Blob Storage, then use that as the source in your Data Flow.
      For more detailed information, you can refer to https://learn.microsoft.com/en-us/azure/data-factory/copy-activity-overview
    2. Managed VNET IR: Set up a Managed Virtual Network Integration Runtime with a Private Endpoint to access your on-prem SQL directly from Data Flows.
      For more detailed information, you can refer to https://learn.microsoft.com/en-us/azure/data-factory/managed-virtual-network-private-endpoint

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


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.