Forum Discussion

agneum's avatar
agneum
Helper II
2 years ago
Solved

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 ...
  • collinq's avatar
    2 years ago

    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.