High severitycredentials
Power BI Refresh Error:
UserErrorOAuthTokenExpiredOrRevoked
What does this error mean?
An ADF linked service using OAuth (e.g., Salesforce, REST, OData) failed because the access or refresh token has expired or was revoked.
Common causes
- 1The OAuth refresh token expired after the configured maximum token lifetime (60–90 days)
- 2The OAuth token was revoked by an administrator (password change, account disable, or policy enforcement)
- 3The OAuth app registration's client secret expired and ADF cannot refresh the token
- 4The user account used for OAuth authorization was disabled or its permissions were changed
How to fix it
- 1Re-authorize the linked service in ADF Studio: click 'Authorize' and complete the OAuth flow with valid credentials.
- 2If using a service principal, verify the client secret has not expired and rotate it if necessary.
- 3Verify the account used for authorization is still active and not disabled.
- 4Use a service principal with a certificate rather than a client secret to avoid expiry issues.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-rest