Forum Discussion
Auto Sign In to Embedded Link to Power BI Report
- 6 years ago
Hi vicente-iii ,
Based on this document:https://docs.microsoft.com/en-us/power-bi/service-embed-secure
The user needs to sign in to view the report if a user has not signed-in to Power BI in their browser session, After the user has signed in, the report opens, only users who have view permission can see the report in Power BI. Lastly, the user needs to be correctly licensed – either they need a Power BI Pro license, or the report must be in a workspace that is in a Power BI Premium capacity. So the login is used for varify the premission and the license.
To 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.
Or We can increase the lifetime of authentication token. The authentication token lifetime is controlled based on your AAD settings. When the authentication token expires, the user will need to refresh their browser to get an updated authentication token. The default lifetime is one hour, but it could be shorter or longer in your organization.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi vicente-iii ,
Based on this document:https://docs.microsoft.com/en-us/power-bi/service-embed-secure
The user needs to sign in to view the report if a user has not signed-in to Power BI in their browser session, After the user has signed in, the report opens, only users who have view permission can see the report in Power BI. Lastly, the user needs to be correctly licensed – either they need a Power BI Pro license, or the report must be in a workspace that is in a Power BI Premium capacity. So the login is used for varify the premission and the license.
To 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.
Or We can increase the lifetime of authentication token. The authentication token lifetime is controlled based on your AAD settings. When the authentication token expires, the user will need to refresh their browser to get an updated authentication token. The default lifetime is one hour, but it could be shorter or longer in your organization.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Kolumam6 years agoPost Prodigy
Thanks for the answer.
Can you provide some link/resource to build a custom integration using the user own model?
I am not sure where to start.
- v-lid-msft6 years agoCommunity Support
Hi Kolumam ,
Here are the links in the official document:
To 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.
The automatic authentication capability provided with the Embed option doesn't work with the Power BI JavaScript API. For the Power BI JavaScript API, use the user owns data embedding method.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous3 years agoNot applicable
Hi Team,
I came across the same issue and found your solution, but i still have a query and yet my requirement hasn't matched.
As we're embedding to the same website, so while logging in the person has to sign in intially then why again he needs to sign in specifically while vewing power bi reports. Then that would be a multi sign on session right. Can you guide me on this where is there any way that the initial login to the website itself to be considered and shouldn't be asked again while viewing Power bi reports.
Regards,
Haveesh