Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
agneum
Helper II
Helper II

Automatically sign in to embedded report?

"A Power BI report cannot be embedded in a web portal without logging in. 
Whether a user opens a report URL directly, or one embedded in a web portal, report access requires authentication."

Is there a reason in particular that one has to sign in each and every time, even though I am already signed in to both office.com and app.powerbi.com ? Can the embedded report not check if I am signed in and do this automatically? 

It would be great if there was a setting that could do the sign in automatically (at least have the service attempt to sign in automatically when the users loads the embedded report in their browser).

This has been requested over and over in this forum , I have seen countless threads about the sign-in button. Is this something this a feature that is acknowledged by Microsoft?

1 ACCEPTED SOLUTION
collinq
Super User
Super User

Hi @agneum ,

 

Does this thread help you out?

Solved: Auto Sign In to Embedded Link to Power BI Report - Microsoft Fabric Community

 

Also, you may have seen this, but here are a few tips (from Embed a report in a secure portal or website - Power BI | Microsoft Learn)

  • The automatic authentication capabilities provided with the Embed option don't work with the Power BI JavaScript API. They are blocked in PBI embedded client SDK starting with the version 2.10.4. For the Power BI JavaScript API, use the user-owns-data embedding method.

  • The automatic authentication capabilities don't work when they're embedded in applications, including in mobile and desktop applications.

  • The authentication token lifetime is controlled based on your Microsoft Entra settings. When the authentication token expires, the user will need to sign in again to get an updated authentication token. The default lifetime is one hour, but it might be shorter or longer in your organization. You can't automatically refresh the token in this scenario.

 




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




View solution in original post

1 REPLY 1
collinq
Super User
Super User

Hi @agneum ,

 

Does this thread help you out?

Solved: Auto Sign In to Embedded Link to Power BI Report - Microsoft Fabric Community

 

Also, you may have seen this, but here are a few tips (from Embed a report in a secure portal or website - Power BI | Microsoft Learn)

  • The automatic authentication capabilities provided with the Embed option don't work with the Power BI JavaScript API. They are blocked in PBI embedded client SDK starting with the version 2.10.4. For the Power BI JavaScript API, use the user-owns-data embedding method.

  • The automatic authentication capabilities don't work when they're embedded in applications, including in mobile and desktop applications.

  • The authentication token lifetime is controlled based on your Microsoft Entra settings. When the authentication token expires, the user will need to sign in again to get an updated authentication token. The default lifetime is one hour, but it might be shorter or longer in your organization. You can't automatically refresh the token in this scenario.

 




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.