Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am trying to use a Fabric Notebook to create Python code that pulls data from a internal API (Google Apigee) with data from a on-premises SQL Server database. I am able to run the code locally on my desktop via the requests and pymssql python modules, but I seem to run into issues when running the code on a Fabric notebook. There seems to be a disconnect when connecting to both the API and on-prem database. I have custom M code in Power Query that can pull the API and SQL databse both on my PBI desktop and in the cloud. The two connections have a gateway configured and are online in the service.
Does anyone know if you need a gateway configured for this? If so, how can we configure a gateway and assign it to the Fabric notebook.
Solved! Go to Solution.
HI @Bayernboy23,
Perhaps you can take alooka t the following document about conjugation gateway for fabric product if helpes for your scenario:
How to access on-premises data sources in Data Factory - Microsoft Fabric | Microsoft Learn
Regards,
Xiaoxin Sheng
We have similar issues trying to connect Fabric notebook to on premise APIs, Odata, etc. The notebook doesn't support the on premise gateway, and am finding that the Dataflow gen2 option is much slower than I would have liked.
You can vote the idea here though.
HI @Bayernboy23,
Perhaps you can take alooka t the following document about conjugation gateway for fabric product if helpes for your scenario:
How to access on-premises data sources in Data Factory - Microsoft Fabric | Microsoft Learn
Regards,
Xiaoxin Sheng
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
8 | |
6 | |
5 | |
2 | |
2 |
User | Count |
---|---|
4 | |
4 | |
3 | |
3 | |
2 |