Forum Discussion
silent authentication issues with Power BI embed sharing and SSO with iframes
Hi,
We are implementing a 3rd party custom web application that supports manufacturing performance dashboard building
with no code. It allows iframe embedding using embed strings and we wish to use this to bring Power BI embeds into the
dashboard pages.
It is basically working but we have an annoying friction with the SSO -
first the iframes appear with "sign in" button. This has to be clicked, there is a quick popup and then the report visual
resolves. If the dashboard pages is refreshed, all other visuals on the page then resolve too.
Any advice from experience, we would realy like to get this working as the iframe embed string is the main mechanism offered by the vendor but having to click sign-in and refresh every visit will be a major user annoyance..
Rgds, Paul
vendor for this purpose currently
Working with embedded has no problem with sign you. However, you have to consider that you are the owner of the sign in now, so the security depends on your code and not microsoft. In order to prevent compliance issues, you must purchase a capacity license for the workspace containing the reports you are going to embed. It's mandatory for production environment to keep the reports in dedicated capacity when embedded.
I hope that make sense
4 Replies
- ibarrau
Super User
Hi. The embedding by secure link, using a link from report in an iframe works like that. It's very simple to use, but it keeps secure asking for login inside the canvas. If you want to embed without that, then you need to take ownership of the security as app owns data. You can read about it here: https://learn.microsoft.com/en-us/power-bi/developer/embedded/embedded-analytics-power-bi
I can say it's not just using an iframe. It's authentication, getting authorization, getting embedCode, using js, etc. There are already tools for this if you want to take a look. For example, https://pibi.cloud
If you or the team have coding skills then you might be able to do it. You can also check the https://playground.powerbi.com/
That has examples of embedding.
I hope that helps,
- PaulMccNew Member
Interesting, thank you - we were hoping to keep it simple if there was some technical solution but maybe we might have to go down the app owns data route.. -
is it relevant that when the report is opened simply by string in a normal browser tab, there is no sign in friction?
- ibarrau
Super User
Working with embedded has no problem with sign you. However, you have to consider that you are the owner of the sign in now, so the security depends on your code and not microsoft. In order to prevent compliance issues, you must purchase a capacity license for the workspace containing the reports you are going to embed. It's mandatory for production environment to keep the reports in dedicated capacity when embedded.
I hope that make sense
- AnonymousNot applicable
Hi PaulMcc,
Thanks ibarrau for addressing the issue.we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.Regards,
Vinay Pabbu