<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic user authentication needed when uses embed PowerBi in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/user-authentication-needed-when-uses-embed-PowerBi/m-p/3988981#M53349</link>
    <description>&lt;P&gt;Hello everybody,&lt;BR /&gt;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.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pedroEmb_0-1718203507969.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1115613i42633A2422AE9728/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pedroEmb_0-1718203507969.png" alt="pedroEmb_0-1718203507969.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 17:16:46 GMT</pubDate>
    <dc:creator>pedroEmb</dc:creator>
    <dc:date>2024-06-12T17:16:46Z</dc:date>
    <item>
      <title>user authentication needed when uses embed PowerBi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/user-authentication-needed-when-uses-embed-PowerBi/m-p/3988981#M53349</link>
      <description>&lt;P&gt;Hello everybody,&lt;BR /&gt;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.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pedroEmb_0-1718203507969.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1115613i42633A2422AE9728/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pedroEmb_0-1718203507969.png" alt="pedroEmb_0-1718203507969.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 17:16:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/user-authentication-needed-when-uses-embed-PowerBi/m-p/3988981#M53349</guid>
      <dc:creator>pedroEmb</dc:creator>
      <dc:date>2024-06-12T17:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: user authentication needed when uses embed PowerBi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/user-authentication-needed-when-uses-embed-PowerBi/m-p/3990386#M53382</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/758713"&gt;@pedroEmb&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;To achieve a single sign-on experience, use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-embed-report-spo" data-linktype="relative-path" target="_blank"&gt;Embed in SharePoint Online option&lt;/A&gt;, or build a custom integration by using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-your-organization" data-linktype="relative-path" target="_blank"&gt;user-owns-data&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;embedding method.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-embed-secure#considerations-and-limitations" target="_self"&gt;Embed a report in a secure portal or website - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/77909302/view-power-bi-embed-report-using-single-sign-on" target="_blank"&gt;powerbi - View Power BI Embed Report using Single Sign on - Stack Overflow&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;When the user's login to the app for the first time, you can get the access Token in response.&lt;/SPAN&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size="3"&gt;For Embedding any report, we need embed URL and access Token.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;You can get the access Token from the above and it will be of token Type AAD.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Use this accessToken as Bearer token to hit the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/rest/api/power-bi/reports/get-reports-in-group" rel="nofollow noreferrer" target="_blank"&gt;Get Report in Group&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;REST API to get the Embed URL&lt;/FONT&gt;.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 07:01:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/user-authentication-needed-when-uses-embed-PowerBi/m-p/3990386#M53382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-13T07:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: user authentication needed when uses embed PowerBi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/user-authentication-needed-when-uses-embed-PowerBi/m-p/4835396#M63217</link>
      <description>&lt;P&gt;thanks! Sorry to delay for answering. I read your suggestion but forgot to reply. The IT from my company forbidden to proced on this way, but some tests showed that your suggestion worked out.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 12:27:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/user-authentication-needed-when-uses-embed-PowerBi/m-p/4835396#M63217</guid>
      <dc:creator>pedroEmb</dc:creator>
      <dc:date>2025-09-25T12:27:58Z</dc:date>
    </item>
  </channel>
</rss>

