MetricSign
Get started free
High severitycredentials

Power BI Refresh Error:
Credentials are invalid

What does this error mean?

The credentials used to access the data source are rejected. This can happen after a password change, token expiration, or a permissions change on the source system.

Common causes

  • 1Service account password was changed without updating the gateway credentials
  • 2OAuth token (e.g., SharePoint, Dynamics) has expired and needs re-authorization
  • 3The database user was disabled or its password policy forced a reset
  • 4The account used no longer has access to the data source (role removed)
  • 5API key or SAS token used as a credential has been rotated or revoked

How to fix it

  1. 1In Power BI Service, navigate to the dataset → Settings → Data source credentials and click 'Edit credentials'
  2. 2Re-enter the current, valid credentials and save
  3. 3If using OAuth (SharePoint, OneDrive, Dynamics), click 'Sign in' to re-authorize with a fresh token
  4. 4Verify the service account is still active and has not been locked or disabled in Active Directory
  5. 5For gateway-connected sources, update the credentials in Manage gateways → Data sources as well
  6. 6Set up a MetricSign alert so you are notified the moment a credential error causes a refresh failure, before your reports go stale

Other credentials errors