Forum Discussion
Refresh not working for OAuth based Custom Connector in Power BI Service
Hi Anonymous ,
1. Try to check your desktop version, update it to the latest version, and republish to service.
2. Try Use personal gateways in Power BI
3. Here is a similar post, you can refer to: Error while refreshing data from custom connector
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
Hi v-joesh-msft,
I checked your steps but couldn't find any solution. I also explored the gateway logs and found the actual error. It says DM_GWPipeline_Client_OAuthTokenRefreshFailedError which basically is failure of oauth token refresh. I found the reason, but couldn't find any solution. Any help to this is largely appreciated. Thanks!
- dbeavon32 years ago
Memorable Member
Microsoft updated a page to say that oauth2 tokens expire after an hour in the gateway.
This is buggy behavior. And it is very different than what we experience in the PBI desktop. Ideally the enterprise gateway would work better than the PBI desktop, rather than worse.Based on the inspection of the underlying code, the AAD tokens are supposed to be refreshed.