Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Not applicable

Gateway connection error in Power BI Service. - Azure DevOps

Gateway connection error in Power BI Service.
Currently, there is a .pbix file, with three (3) data sources: Phyton Script, AzureDevOps, and SQL Server. The data update process in Power BI Desktop for this file is performed without error. Data source configuration .pbix file (Image 1)

After publishing the .pbix file in Power Bi Service and trying to make the settings to refresh the dataset, the following attachment error appears(Image 2).


Data SourceData Source

 Gateway ConnectionGateway Connection




Community Support
Community Support

Hi @Anonymous ,


It is not supported to implement schedule refresh via on premise Data Gateway (Enterprise Gateway) for Python in Power BI Service currently .There is an idea about this issue, please vote it up, , to improve the Power BI.


While you can implement schedule refresh via Personal Gateway for Python in Power BI Service. The additional steps are the following:


- Install the Personal Gateway - you need a Personal Gateway installed on the machine where the file is located, and where Python is installed.

- Enable scheduled refresh for the dataset – Need to enable scheduled refresh for the dataset with Python scripts


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


Best Regards,

Dedmon Dai

Super User
Super User

Hi there

As far as I know Python has to be used with the personal mode gateway and cannot be used with the standard mode?

Try installing the personal mode and see if you can configure the refresh.

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Power BI Blog

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors