Showing results for 
Search instead for 
Did you mean: 
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


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors