Forum Discussion

powerbiexpert22's avatar
powerbiexpert22
Impactful Individual
1 year ago
Solved

Single Sign On in Power BI

I need to integrate Single Sign On in Power BI , example if user login into a web application using his or her organization credentials then same credentials should be used to login in Power BI servi...
  • pankajnamekar25's avatar
    1 year ago

    Hello powerbiexpert22 

    To enable Single Sign-On (SSO) in Power BI, your web application and Power BI service must both authenticate through the same Azure Active Directory tenant. You first register your web app in Azure AD, grant it Power BI API permissions, and configure it with the necessary client credentials. In Power BI’s admin portal, you enable embedding and set up the required security access. When a user signs into your web app with their organizational credentials, the app can silently exchange that Azure AD token for a Power BI access token, eliminating the need for the user to log in again. The Power BI JavaScript SDK is then used to embed reports in the application, passing the access token behind the scenes. Since tokens expire, silent token renewal is required to maintain seamless access. With delegated permissions, each user sees only the content they are authorized for, providing a true SSO experience within Power BI.