Forum Discussion
kevinglb
4 years agoFrequent Visitor
Issue - Update Data Source Credentials through REST API failed for Web Source
I was trying to update the data source credentials through REST API (https://api.powerbi.com/v1.0/myorg/gateways/{gatewayId}/datasources/{datasourceId}) for a PBI report whose data source tpye is ...
IAmStandard
2 years agoFrequent Visitor
Hi kevinglb , Anonymous ,
I have exactly the same issue. I'm pretty sure it's because we don't patch a "refresh token" with the credential API. When we refresh the dataset, I think it it takes more that x minutes, Power BI Services wants to refresh the token with an access token. Since we didn't put an access token (not supported with the API), it fails.
That's pretty annoying because I have no workaround in mind right now...