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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors