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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
HarderT
Helper II
Helper II

Connection SQL Server in Fabric

Hi everyone,

 

I have a question/problem.

 

Why can i connect my SQL Server in Fabric within a dataflow but not in a pipeline?

 

Thanks for help!

 

1 ACCEPTED SOLUTION

Hi , @HarderT 

Thanks for your quick response and sorry for my delay response!

I create a on-premise sql server and  install a gateway to test in my side .And i found we can not select a gateway in pipeline now.

As searched ,  the Self-hosted IR / Data Gateway that's needed for Fabric pipelines to connect to on-prem data sources is not available in yet.

vyueyunzhmsft_0-1688435497259.png

Please reference the official confirmation at:
Differences between Data Factory in Fabric and Azure - Microsoft Fabric | Microsoft Learn

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

11 REPLIES 11
HarderT
Helper II
Helper II

Hi @ilseeb ,

 

unfortunately not yet

ilseeb
Advocate I
Advocate I

@HarderT were you able to make it work in a Pipeline? I have the same issue in which I can connect in a DataFlow but in the Pipeline I am having connection issues.

HarderT
Helper II
Helper II

Hi @v-yueyunzh-msft,

 

Thanks for your effort!

 

Is it foreseeable when it will be possible?

 

Best regards,

Tim

Hi, @HarderT 

Thank you for your reply. There is no expected launch time yet. Generally, when new features are released, they will be seen in the monthly update summary.

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

HarderT
Helper II
Helper II

Hi @v-yueyunzh-msft ,

 

I do not have the possibility to select a gateway in a pipeline

 

HarderT_0-1688383823773.png

 

Best regards,

Tim

 

Hi , @HarderT 

Thanks for your quick response and sorry for my delay response!

I create a on-premise sql server and  install a gateway to test in my side .And i found we can not select a gateway in pipeline now.

As searched ,  the Self-hosted IR / Data Gateway that's needed for Fabric pipelines to connect to on-prem data sources is not available in yet.

vyueyunzhmsft_0-1688435497259.png

Please reference the official confirmation at:
Differences between Data Factory in Fabric and Azure - Microsoft Fabric | Microsoft Learn

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

HarderT
Helper II
Helper II

Hi @v-yueyunzh-msft ,

 

probably I found the problem. 

 

The Problem is that our SQL Server is an On-Premise Server not a Cloud-Server.

 

Is that correct?

 

Best regards,

Tim

Hi , @HarderT 

If the sql server in On-Premise, in my understand , you must need to use the gateway to create a data source credential .

You can try to search if the Existing connection has the configuration for your data source.

vyueyunzhmsft_0-1688376420789.png

 

vyueyunzhmsft_0-1688377406057.png

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

v-yueyunzh-msft
Community Support
Community Support

Hi , @HarderT 

Based on my test and research, if you are trying to connect to SQL Server data source in your Power BI data flow gen2 workload in the Fabric platform, it can be achieved and please detailed refer to this step:

You can first go to a Fabric workspace to create a new dataflow gen2 workload:

vyueyunzhmsft_0-1688349085893.png

And you can select the "SQL Server" button to enter your detailed SQL Server detail info and credential to establish the connection to it:

 

vyueyunzhmsft_1-1688349106790.png

You may also detailed refer to this official document link:

Connect to data sources for dataflows - Power Query | Microsoft Learn

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Hi @v-yueyunzh-msft ,

 

thank you for your response.

 

I know that I can connect my SQL Server via Dataflow. But I'm wondering why it doesn't work with a pipeline!?

 

HarderT_0-1688373302114.png

 

I'm wondering because I have the option to choose a SQL Server for import data.

 

Best regards,

Tim

Hi, @HarderT 

Thanks for your quick response!

According to your description, you want to connect to a sql server in a pipeline.

Sorry for i may misunderstand your need.Do you mean you want to use this feature in Fabric?

vyueyunzhmsft_0-1688375397708.png

I test it in my side when i clcik "Copy data":

vyueyunzhmsft_1-1688375428914.png

We can choose the "Sql Server " as the data source.

vyueyunzhmsft_2-1688375504979.png

Or it means that your dataflow can connect to sqlserver, but the pipeline cannot connect successfully?

If so, you need to check that the SQL Server server name, credentials and gateway you entered are exactly the same.

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.