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

Join 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.

Reply
Shahashesh
Helper III
Helper III

Power BI schedule refresh issue with Python

Hello All,

I am not able to enable schedule refresh in Power Bi Service. I have used python to do some transformations inside Power Query in Power Bi Desktop. Here are the snapshots where it is asking for some authentication method. I am not using any On-premises. When i am trying to select "Organizational" in privacy level setting then it is simply loading and doesn't moves ahead. Can anyone please help in resolving it asap. Thanks!Snap1.pngSnap2.png

 

Regards,

Ashesh Shah

2 REPLIES 2
Anonymous
Not applicable

Hi  @Shahashesh ,

You can check to see if privacy levels are consistent across Power BI Desktop and Power BI Service.

Does the refresh on Power BI Desktop work fine, if that fails too, you can clear cache and re-add credentials in Datasource and republish to Power BI Service.

vyangliumsft_0-1668481196359.png

Solved: Change login credentials - Microsoft Power BI Community

 

You may check if the gateway is the latest version, install the latest gateway and try again.

Install an on-premises data gateway | Microsoft Learn

Python data sources require a personal gateway, you need a Personal Gateway installed on the machine where the file is located, and where Python is installed.

Use personal gateways in Power BI - Power BI | Microsoft Learn

For more information, please refer to:

Data Source Credentials - failed to test connectio... - Microsoft Power BI Community

Solved: Failed to test the connection to your data source.... - Microsoft Power BI Community

 

Best Regards,

Liu Yang

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

Hi @Anonymous ,

Thank you for the response.

Privacy Levels are consistent across Pbi desktop and service. Power Bi Desktop is refreshing without any issues. I am not using any on-premises environment, source file is in client sharepoint where my credentials are working perfectly when published in service. Python is just used for some transformations in Power Query. Is it really required personal gateaway to be install?

Any workaround to fix the issue?

 

Regards,

Ashesh Shah

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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