Forum Discussion
Token expiry issues refreshing a semantic model
- Anonymous2 years ago
Hi StephenF ,
When a client acquires an access token to access a protected resource, the client also receives a refresh token. The refresh token is used to obtain new access and refresh token pairs when the current access token expires.You can't configure the lifetime of a refresh token. You can't reduce or lengthen their lifetime.Perhaps you can configure a scheduled refresh, where a refresh within the refresh token's validity period will acquire a new refresh token.
Data refresh in Power BI - Power BI | Microsoft Learn
Refresh tokens in the Microsoft identity platform - Microsoft identity platform | Microsoft Learn
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If i relogin to the oauth on the gateway, it works again. Is there a way to automate this?
In the gateway clicking the refresh button and getting a green symbol testing the connection does not help.