Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have script that changes the embedded PBI report link periodically in a HTML page.
I the first access, the iFrame is a login button and then the report is displayed. The problem is that the report keeps asking for a login every 2/3 hours. I was wondering whether there is a way to increase the session time. We don't wan't to publish the report to the web due to security reason and we don't want to use the complexity of creating Tokens.
Any help would be much appreciated!
Solved! Go to Solution.
Unfortunately there is no solution. I had to go all the way into the complexity of using Power BI Tokens.
Hi, actualy you can add in your html code object on background, that acquire token (because endpoint has remember credentials and stay connected turn on) and than (onload + srcipt that change iframe content) to load embed link after object acquire token.
Unfortunately there is no solution. I had to go all the way into the complexity of using Power BI Tokens.
When you say you had to "go all the way into the complexity of using Power BI Tokens." What do you mean? Could you point me to some documentation? Thanks
Reference: https://azure.microsoft.com/en-us/products/power-bi-embedded/
It is insanely difficult for non-developers because you need to understand Microsoft Identity's flow, OAuth tokens, Power BI Tokens and at least JavaScript.
Notice you must have Power BI Embedde License or Power BI Premium license.
I would like to chekc if we have any solution to this sign-in prompt while embeding power bi report using iframe.
Hi @FelipeCosta ,
The Embed option doesn't automatically permit users to view the report. View permissions are set in the Power BI service. If a user opens a report URL directly, or one embedded in a web portal, report access requires authentication. A new browser window or tab could open, it will ask for you sign-in. The user will need to sign-in to view the report each time they open a new browser window. Also, the user needs to be correctly licensed – either they need a Power BI Pro or Premium Per User (PPU) license, or the report must be in a workspace that is in a Power BI Premium capacity. You can review the following official documentation for more details.
Embed a report in a secure portal or website
If you want achieve a single sign-on experience, use the Embed in SharePoint Online option, or build a custom integration using the user owns data embedding method.
Best Regards
Hi, thanks for the answer. What I'm saying is that when the user sign-in initally to a given embedded report, it works fine, but after about 1 hour, the very same login embedded frame shows, so the user has to manually log in again.
I have the same issue. I have embedded my reports to a web application. After 1-2 hours in the middle of a session, it just logs me out and shows the Sign In button.
I Have the same problem. When using the embed link i need to sign in again after 1-2 hours.
We have a dashboad on screens in our office, but it is far from convenient that we need to login all the time.
Does anybody know how to avoid this?
Same problem here. We even get the login screen after 30 min. I would be really happy with 2-3 hours...
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
37 | |
4 | |
3 | |
3 | |
3 |