Forum Discussion

mannemlokesh's avatar
mannemlokesh
New Member
1 year ago
Solved

Can we integrate Keycloak as the Auth Server for SSO with Power BI Embedded?

Hi Team,   I'm currently working on embedding Power BI dashboards into my web application, and I’m looking to implement Single Sign-On (SSO) using Keycloak as the authentication provider.   My re...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi mannemlokesh,

    Thanks for reaching out to the Microsoft fabric community forum.

    Power BI Embedded supports embedding for users using Azure AD tokens. Since Direct SSO from Keycloak to Power BI is not natively supported as an identity provider, but you can achieve seamless access by handling token issuance in your app post-Keycloak login, and Role-based access is achievable via RLS, with your app mapping Keycloak roles to dataset roles. For auditing, your app should maintain its own logging of user activity, as Power BI won't automatically recognize users from external identity providers in the App Owns Data model.

    You can go through the below links for reference:

    Overview of single sign-on for on-premises data gateways - Power BI | Microsoft Learn

    Power BI embedded analytics documentation - Power BI | Microsoft Learn

    Security in Power BI embedded analytics - Power BI | Microsoft Learn

     

    If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

    Best Regards,
    Hammad.
    Community Support Team

     

    If this post helps then please mark it as a solution, so that other members find it more quickly.

    Thank you.