API access and integration with Microsoft Partner Center for managing partner data
The documentation for Gateways – Update Datasource API (https://learn.microsoft.com/en-us/rest/api/power-bi/gateways/update-datasource?utm_source=chatgpt.com) explains that credentialType: "OAuth2" is supported in general and provides an example payload using accessToken inside credentialData.
However, the documentation does not clearly state whether this API supports updating credentials for a datasource whose resource type is Google BigQuery.
In practice, when using the documented OAuth2 payload format with a Google OAuth2 access token for a BigQuery datasource, the update fails with errors such as:
AccessUnauthorized
The documentation should clarify:
1. Whether Google BigQuery is supported by this API.
2. Whether OAuth2 accessToken update is supported for Google Bigquery.
3. Whether externally generated Google OAuth2 access tokens can be used.
4. The recommended API payload or authentication method for BigQuery, if different from the generic OAuth2 example.
Currently, the documentation only describes the generic credential format, but it does not explain connector-specific behavior. This makes it difficult to determine whether Google BigQuery failures are caused by an implementation issue or by an unsupported scenario.