Forum Discussion
Updating OAuth data source credentials via API - bearer token expires, invalidating connection
- 5 years ago
That's a limitation in the API. I seem to recall that they were planning to address that. Not sure if it is in the works - make sure to vote for the idea/post a new one.
Hi ed-freeman ,
Hope this thread can help you:
https://community.powerbi.com/t5/Power-Query/Refresh-token-api-call/td-p/937553
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- ed-freeman4 years agoAdvocate II
Hi Liang,
Thanks for the response. Unfortunately the link you've shared isn't quite the same thing and the solution isn't really viable. We're authenticating to Azure Synapse using the native connector which has built-in OAuth support. Updating credentials manually supports the refresh token scenario. It's just there's a limitation when trying to do the same thing via the API.
Thank you,
Ed