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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Jothy
Regular Visitor

Notebooks - On-Prem SQL server to Lakehouse

Hi Team,

We are able to access the On-prem SQL server hosted on Azure VM using Data Factory dataflow.

This it could connect post creating a gateway and using that gateway in Factory experience.

 

If the same we need to do via Python notebooks, how should we use that gateway option in our connection string? Please help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Jothy ,

 

Currently, Fabric Notebook do not support direct connections to local databases through the Power BI Gateway. Fabric Spark does not integrate with the Power BI Gateway.

 

There are two alternatives:

 

First, you can create shortcut to the external data in Fabric Lakehouse. This way, you can query the data using notebooks.

 

For more information about shortcut, please see:

Create a OneLake shortcut - Microsoft Fabric | Microsoft Learn

 

Second, you can use data pipeline to copy data to the lakehouse instead of using notebook.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Jothy ,

 

Currently, Fabric Notebook do not support direct connections to local databases through the Power BI Gateway. Fabric Spark does not integrate with the Power BI Gateway.

 

There are two alternatives:

 

First, you can create shortcut to the external data in Fabric Lakehouse. This way, you can query the data using notebooks.

 

For more information about shortcut, please see:

Create a OneLake shortcut - Microsoft Fabric | Microsoft Learn

 

Second, you can use data pipeline to copy data to the lakehouse instead of using notebook.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Hello,

I too have the requirement to connect to Azure SQL database from Fabric notebook. Hoping the landscape would have changed, is it possible to connect to Azure SQL database from Fabric notebook at this point of time? 


Please note that, I have a requirement specifically to connect to Azure SQL database only from Fabric notebook.

Thanks in advance!

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Weeks

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (25)