Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello everybody,
I have the following problem. We have a local server and maintain an internal portal for employee use. We are using Powerbi embed on the pages, but we are having problems recognizing the logged-in employee. We use Azure SSO, but we don't know how to make the embed identify that the user is logged in. The login procedure for this internal portal is: we use the Azure SSO method and they return whether it is authorized or not. However, when the employee enters the page, the screen below appears. Is there any API that allows me to log in or authenticate the employee simultaneously with the SSO of the portal or on the pages where the PowerBi embed is loaded? Would anyone have a suggested solution for this case? I would like to do it transparent without the employee notice or have to athenticate by him/her own.
Solved! Go to Solution.
Hi @pedroEmb ,
To achieve a single sign-on experience, use the Embed in SharePoint Online option, or build a custom integration by using the user-owns-data embedding method.
Embed a report in a secure portal or website - Power BI | Microsoft Learn
powerbi - View Power BI Embed Report using Single Sign on - Stack Overflow
When the user's login to the app for the first time, you can get the access Token in response.For Embedding any report, we need embed URL and access Token.
You can get the access Token from the above and it will be of token Type AAD.
Use this accessToken as Bearer token to hit the Get Report in Group REST API to get the Embed URL.
Best Regards
Hi @pedroEmb ,
To achieve a single sign-on experience, use the Embed in SharePoint Online option, or build a custom integration by using the user-owns-data embedding method.
Embed a report in a secure portal or website - Power BI | Microsoft Learn
powerbi - View Power BI Embed Report using Single Sign on - Stack Overflow
When the user's login to the app for the first time, you can get the access Token in response.For Embedding any report, we need embed URL and access Token.
You can get the access Token from the above and it will be of token Type AAD.
Use this accessToken as Bearer token to hit the Get Report in Group REST API to get the Embed URL.
Best Regards
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
4 | |
4 | |
4 | |
4 | |
4 |