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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ngoodweiler
Frequent Visitor

Enterprise Gateway Not Configured Correctly only with Python in report

Hello everyone. I have a problem with accessing an enterprise gateway on a new report I developed. In the screenshot you can see that it says the entire gateway status is "Not configured correctly" but this only happens on the newest report I have that has Python scripts in the queries. The gateway is online, MANY other reports are using the same intranet connection that is in the screenshot and working just fine, this only happens on the report with Python.

 

ngoodweiler_0-1722528011783.png

 

I installed a personal gateway on my own computer to have Python work through it for now. Do I need to have the personal gateway installed on the same machine as the enterprise? My plan was to use the enterprise gateway for the SQL connections, cloud connections for things like sharepoint and Salesforce (the web and Salesforce connections in screenshot and these work fine), and a personal gateway for Python. Is this not possible? It would take a long time and I dont know if it is even possible to use Power Query and DAX to replace the Python scripts in the report, so I would much rather be able to use a personal gateway along with an enterprise depending on the connections.

 

As a note I am not an admin for the gateway or connections. Is there maybe a setting in the gateway that needs to be changed to allow users to use personal gateways in conjunction with the enterprise?

 

Another option I thought of was to not use the enterprise gateway at all and install a personal mode gateway on a server we have, but that defeats the purpose of having a managed enterprise gateway doesnt it?

 

I guess overall my question boils down to how can I use Python in a report that uses an enterprise gateway for all of its data source connections?

1 ACCEPTED SOLUTION
v-jtian-msft
Community Support
Community Support

Hi,@ngoodweiler.I am glad to help you.
I'm very happy to see that you yourself have temporarily solved the problem of failed gateway connections by connecting through a personal gateway. Using a personal gateway is indeed a viable approach for data sources containing python scripts that are not supported by On-premise gateway. However, as you feared, this may not be appropriate.
Your idea is feasible, but you need to be careful about using a combination of enterprise and personal gateways, permissions and settings need to be configured correctly for this to work.
I would prefer to use the official recommendation, which is that Microsoft recommends Fabric Notebooks instead of the Personal Gateway for connecting to data sources that contain python scripts.
URL:
Power BI implementation planning: Data gateways - Power BI | Microsoft Learn

vjtianmsft_0-1722562355585.png

 I prefer to recommend you to use a Fabric notebook instead of a personal gateway. Not only is this the official recommended solution, but you will also enjoy the better performance and additional features that notebooks offer.
You could write and run Python code on the notebook and write that data to Onelake.
Use OneLake data in Power BI, doing so avoids having to configure a personal gateway.


Luckily, I have also found other issues on the forums that are related and have been resolved, so I hope this helps.
URL:Solved: Using Python in Power BI without Personal Gateway - Microsoft Fabric Community

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

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

1 REPLY 1
v-jtian-msft
Community Support
Community Support

Hi,@ngoodweiler.I am glad to help you.
I'm very happy to see that you yourself have temporarily solved the problem of failed gateway connections by connecting through a personal gateway. Using a personal gateway is indeed a viable approach for data sources containing python scripts that are not supported by On-premise gateway. However, as you feared, this may not be appropriate.
Your idea is feasible, but you need to be careful about using a combination of enterprise and personal gateways, permissions and settings need to be configured correctly for this to work.
I would prefer to use the official recommendation, which is that Microsoft recommends Fabric Notebooks instead of the Personal Gateway for connecting to data sources that contain python scripts.
URL:
Power BI implementation planning: Data gateways - Power BI | Microsoft Learn

vjtianmsft_0-1722562355585.png

 I prefer to recommend you to use a Fabric notebook instead of a personal gateway. Not only is this the official recommended solution, but you will also enjoy the better performance and additional features that notebooks offer.
You could write and run Python code on the notebook and write that data to Onelake.
Use OneLake data in Power BI, doing so avoids having to configure a personal gateway.


Luckily, I have also found other issues on the forums that are related and have been resolved, so I hope this helps.
URL:Solved: Using Python in Power BI without Personal Gateway - Microsoft Fabric Community

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

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


 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.