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

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

Reply
JānisB
Frequent Visitor

How to connect a Notebook to an existing Fabric connection without using Pipeline.

There is an existing connection (Manage connections and gateways). For example connection ID: aaabbb .

Is it possible to connect a Notebook (T-SQL and Python and PySpark(Python)) to an existing Fabric connection without using Pipeline?

1 ACCEPTED SOLUTION
v-achippa
Community Support
Community Support

Hi @JānisB,

 

Thank you for reaching out to Microsoft Fabric Community.

 

As of now, fabric does not support directly connecting a Notebook (T-SQL, Python, or PySpark) to an existing fabric connection from "Manage connections and gateways" without using a pipeline.

  • The "Manage connections and gateways" feature in fabric is mainly used for Data Pipelines, Dataflows, and Linked Services to connect to external data sources.
  • Fabric Notebooks (T-SQL, Python, PySpark) do not natively support direct connections to these pre-configured connections.
  • Notebooks typically connect directly to Lakehouse, Data Warehouse or KQL Database directly rather than through "Manage connections and gateways".

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks and regards,

Anjan Kumar Chippa

 

View solution in original post

2 REPLIES 2
v-achippa
Community Support
Community Support

Hi @JānisB,

 

Thank you for reaching out to Microsoft Fabric Community.

 

As of now, fabric does not support directly connecting a Notebook (T-SQL, Python, or PySpark) to an existing fabric connection from "Manage connections and gateways" without using a pipeline.

  • The "Manage connections and gateways" feature in fabric is mainly used for Data Pipelines, Dataflows, and Linked Services to connect to external data sources.
  • Fabric Notebooks (T-SQL, Python, PySpark) do not natively support direct connections to these pre-configured connections.
  • Notebooks typically connect directly to Lakehouse, Data Warehouse or KQL Database directly rather than through "Manage connections and gateways".

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks and regards,

Anjan Kumar Chippa

 

So how would you connect to say an Azure SQL database in PySpark?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

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.