Credentials

The credentials provided for the dataset are invalid

Power BI dataset refresh error: what it means and how to fix it.

What this means

Stored credentials are out of date, or a query mixes cloud OAuth and on-prem sources on the personal gateway.

How to fix it

  1. Edit the data-source credentials with current values.
  2. Split mixed-auth queries into separate sources.
  3. Republish the model.
View on Microsoft Learn

Frequently asked questions

What does the "The credentials provided for the dataset are invalid" error mean?
Stored credentials are out of date, or a query mixes cloud OAuth and on-prem sources on the personal gateway.
How do I fix it?
Edit the data-source credentials with current values. Split mixed-auth queries into separate sources. Republish the model.
Where does this Power BI refresh error appear?
It appears in a Power BI semantic model's refresh history when a scheduled or on-demand refresh fails.

Related credentials errors

Catch this automatically

RefreshRadar monitors every Power BI dataset refresh and emails you when one fails, with the likely cause and the fix, so you are not hearing about a broken refresh from your stakeholders first.