Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
We have an on-prem gateway setup to our Azure Data lake,
Everything works fine after authenticating my credentials under "Manage Connections and Gateways".
However, I noticed that every two weeks my authentication on the gateway expires and the dataset/semantic model fails to refresh and the error is related the authentication on the gateway. I then have to reauthentication my credentials on the gateway for the dataset/semantic model refreshes fine.
FYI my credentials have never changed.
Have this happened to anyone before? Is there a solution for me not to reauthenticate every two weeks?
Here's the error Im getting:
I would greatly appreciate any input.
Solved! Go to Solution.
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
Please see error above on the description. I've edited my post.
This has been resolved by updating the gateway and implementing a service principal account.
hope that helps.
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
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
49 | |
29 | |
22 | |
19 | |
13 |