Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I'm using a the embedded adress of a report, wrapped in in 10 minutes reoccruing automatic refresh, which I wrote inside the html file which is on that pc, I don't know how long it takes, but after a while there is apparently a session timeout and the "sign in" screen appears and only if someone manually signs in can run the embedded again.
Is there a way to renew the embedded token with javascript inside my html file?
Thank you very much in advance.
Best.
Solved! Go to Solution.
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
@v-shex-msft do you know where I can get any further information how to do it, maybe in JS ?
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |