Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Pipeline copy data from SQL Server

I'm trying to create a pipeline in Fabric, with a copy data step, but it is failing due to the following error:

"An exception occurred: DataSource.Error: Microsoft SQL: 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"

 

I can connect to the server/database fine in Power BI Desktop, but it doesn't work in Fabric (which I believe eliminates any potential firewall issues).

 

I'm using authentication kind = Basic, and my username is in the format domain\username (I also tried username in the UPN format username@myorg.co.uk.

 

I've tried with "use encrypted connection checked and unchecked, (when switching to unchecked the error message became "connection could not be updated" and I'm still unable to proceed.

 

Another oddity is that there is a Power Bi Gateway source setup (and accessible to me) for this server/database, but for some reason Fabric won't recognise this, and it doesn't show up if I try to use an existing connection, hence I'm trying to setup a new connection.

 

Can anyone advise where I'm going wrong, I thought this would be straight forward.

 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @Anonymous ,

 

at the current moment, the copy activity of pipelines does not support data sources leveraging an on-premises gateway, this is the article with the current limitations: https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-limitations?wt.mc_id=DP-MVP-5003068

We are using a dataflow activity inside a pipeline, because dataflows gen 2 are already supporting data sources with a gateway connection.

 

Hopefully, this will help to tackle your challenge at the moment.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
arafathtk
New Member

We have one Warehouse management software LFS.underlying DB is MS SQL.I want to connect from fabric to this DB.What are the mandatory fileds in the following screen to connect 

arafathtk_1-1721205041193.png

 

TomMartens
Super User
Super User

Hey @Anonymous ,

 

at the current moment, the copy activity of pipelines does not support data sources leveraging an on-premises gateway, this is the article with the current limitations: https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-limitations?wt.mc_id=DP-MVP-5003068

We are using a dataflow activity inside a pipeline, because dataflows gen 2 are already supporting data sources with a gateway connection.

 

Hopefully, this will help to tackle your challenge at the moment.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.