Forum Discussion
How to renew the acces token for a embedd iFrame report?
- Anonymous4 years ago
HI Applicable88,
You can take a look at the following link if helps:
Refresh the access token in Power BI embedded analytics | Microsoft Docs
Regards,
Xiaoxin Sheng
HI Applicable88,
I think you need to create a request to a function to invoke and store the embedded token string and expired time into the cache or session.
After these steps, you can add a timer to compare the current DateTime and expired time to invoke the function to generate new tokens before the current one expired.
Regards,
Xiaoxin Sheng
Anonymous do you know where I can get any further information how to do it, maybe in JS ?
- Anonymous4 years agoNot applicable
HI Applicable88,
You can take a look at the following link if helps:
Refresh the access token in Power BI embedded analytics | Microsoft Docs
Regards,
Xiaoxin Sheng