Forum Discussion
sfdomingues
2 years agoNew Member
How to refresh token before it expires (using User Owns Data app sample from power bi embedded)
I have a sample app .sln that I downloaded from after registering an app in power bi embedded using User Owns Data Approach. The only thing I want to do with this is to show a report of mine in a sma...
Anonymous
2 years agoNot applicable
Hi sfdomingues
For security reasons, access tokens have a limited lifetime.
To maintain continuous access to Power BI reports without manual intervention, you need to implement a mechanism to automatically refresh the access token before it expires.
I found the following documentation for you that may be helpful.
What is the Power BI embedded analytics Client API | Microsoft Learn
reactjs - Refresh power bi client acces Token React - Stack Overflow
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.