Forum Discussion

Mahmoud_Elaraby's avatar
Mahmoud_Elaraby
Frequent Visitor
2 years ago

Embed power bi report server authentication

I have an on-prem power bi report server and want to embed the dashboard using iframe but I'm facing a problem where the Windows logon popup appears and the user is not in my domain.

how can I pass the authentication through the iframe

8 Replies

  • josef78's avatar
    josef78
    Memorable Member

    I think, it is not possible with default autentification, user must be autentificated ... You can try setup some SSO if users are from trusted domain (it can be different domain). Second option is use custom autentification.

    • Mahmoud_Elaraby's avatar
      Mahmoud_Elaraby
      Frequent Visitor

      the SSO is not an applicable solution and the Custom Authentication is breaking the security of PBI as I can't assign user Permission from the portal.

      • josef78's avatar
        josef78
        Memorable Member

        Do you want use security permission of PBI (authorization) without user login (authentificaton)? I think it is not possible. If you want use permission for users, the user must be first authentificated, there is more custom options, default is windows authentification.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Mahmoud_Elaraby ,

    For Power BI report URLs, you can add a query string parameter. ?rs:Embed=true
    Example: http://myserver/reports/powerbi/Sales?rs:embed=true
    Create an iframe in the web page to host the report.

    Below is the post will help you:

    Pass Username/Password on iFrame Embed with Report... - Microsoft Fabric Community

    Best Regards,

    Xianda Tang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Mahmoud_Elaraby's avatar
      Mahmoud_Elaraby
      Frequent Visitor

      the link you share is still not answered, and passing through Query string is not an answer because the like can be used by any one

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Mahmoud_Elaraby ,

    Is your problem solved so far, if so, please also accept as solution the correct answer, thank you.

    Best Regards,

    Xianda Tang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.