Medium severityauthentication
Power BI Refresh Error:
OAuth2AccessTokenTypeNotSupported
What does this error mean?
The access token type returned by the OAuth2 authorization server is not supported by ADF. The token type must be Bearer.
Common causes
- 1OAuth2 token type not supported
- 2Integration runtime configuration is incorrect or outdated
- 3Authentication credentials or permissions are insufficient
- 4The feature or setting is not supported for the selected connector or copy mode
How to fix it
- 1Check the activity run output for the token type value ADF received — this is shown in the error message as the unsupported token_type value returned by the server.
- 2Verify that the OAuth2 authorization server you are connecting to issues Bearer tokens — ADF only supports the 'Bearer' token type in the Authorization header.
- 3If using a custom REST API linked service, check whether the API's authentication server returns a non-standard token type (e.g., 'MAC', 'Digest') — these are not supported and require a different authentication approach in ADF.
- 4Consider switching to a supported authentication method for the connector (API key, basic auth, or managed identity) if the OAuth2 server cannot issue Bearer tokens.
- 5Contact the API provider to confirm their OAuth2 token response format — some providers issue tokens with a non-standard token_type field value that must be reconfigured.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-guide