Credentials

Access to the resource is forbidden

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

What this means

Expired cached browser / session credentials.

How to fix it

  1. Clear the browser cache and sign in again.
  2. Set alwaysPromptForContentProviderCreds=true.
  3. Re-enter the data-source credentials.
View on Microsoft Learn

Frequently asked questions

What does the "Access to the resource is forbidden" error mean?
Expired cached browser / session credentials.
How do I fix it?
Clear the browser cache and sign in again. Set alwaysPromptForContentProviderCreds=true. Re-enter the data-source credentials.
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.