Forum Discussion
Gateway authentication expires every two weeks
- 1 year ago
This has been resolved by updating the gateway and implementing a service principal account.
hope that helps.
Hi, casperlow
Based on your description, you are experiencing an issue with gateway authentication expiring every two weeks, causing dataset and semantic model refreshes to fail.
The error message you're encountering ("Invalid JWT Token. The token is expired.") suggests that the authentication token provided by your credentials is expiring. If possible, consider extending the token lifecycle. However, please be careful not to compromise security by setting the duration too long.
Related links:
Configurable token lifetimes - Microsoft identity platform | Microsoft Learn
Set lifetimes for tokens - Microsoft identity platform | Microsoft Learn
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Thanks, for your response.
I'll investigate on the error further if it gets this error "Invalid JWT Token. The token is expired."
Regards,
Casper