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
Schiszler_I
Frequent Visitor

Scheduled refresh fails in Dataflow: missing credentials

Hello,

 

I have a dataflow connecting to 4 web service APIs with anonymous access. Authentication is made inside the scriprts with basic authentication followed by API keys, both in HTML post, that is why testing is skipped at the web datasource configuration, the info message indicates, that crendentials are not validated:

 

Schiszler_I_0-1646215471792.png

Every time I run an on-demand refresh I have no error, the dataflow refreshes flawlessly from the datasources. However each schedules refresh fails with the same error message: " Data source credentials are missing or invalid. Please update the credentials for Web in dataflows settings page and try again. " 

 

Logging in to the service and running an on-demand refresh without changing the datasource setting gives no error.

 

Schiszler_I_1-1646215772408.png

(On-demand: igény szerinti, Scheduled: ütemezve, Failed: sikertelen, Success: befejezve)

 

I use MFA to log-in however the datasources do not require this method. 

 

Do you have any workaround for this problam?

 

 

1 ACCEPTED SOLUTION
Schiszler_I
Frequent Visitor

The problem was solved, the error just disappeared without any intervention. Only thing I did I have changed the data source credentials to username-password then switched be to anonymous access. Since that it's working. Must be a bug in the dataflow service.

 

View solution in original post

5 REPLIES 5
Schiszler_I
Frequent Visitor

The problem was solved, the error just disappeared without any intervention. Only thing I did I have changed the data source credentials to username-password then switched be to anonymous access. Since that it's working. Must be a bug in the dataflow service.

 

v-yalanwu-msft
Community Support
Community Support

Hi, @Schiszler_I ;

Are you using on-premises data gateway or personal mode? Please check if the gateway is updated to the latest version and also check if the PBIEgwService is always running on your server. 

 

https://community.powerbi.com/t5/Service/Data-Source-Credentials-not-being-able-to-enter/m-p/804874

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This is a web datasource, no gateway needed.

jeffshieldsdev
Solution Sage
Solution Sage

In your Power Query code, where you're using Web.Contents(), are you using the RelativePath and Query parameters to construct your URL?  This can resolve some errors.

Yes, I am using Relative Path.

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.