<?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 Power BI REST API return PowerBINotAuthorizedException in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-return-PowerBINotAuthorizedException/m-p/3748063#M50171</link>
    <description>&lt;P&gt;Hello guys,&lt;BR /&gt;&lt;BR /&gt;We are working on embedding Power BI Report into a legacy web application. We have finished setting up:&lt;BR /&gt;- Entra ID App Registration + Client Secret + Power BI API Readonly Permissions&lt;/P&gt;&lt;P&gt;- The only step we could not reproduce is this &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-core#step-6---service-principal-api-access" target="_self"&gt;Step 6&lt;/A&gt;. We can only see Allow service principles access to Fabrics API on the PBI admin account&lt;/P&gt;&lt;P&gt;- The Power BI Pro account doesn't have access to Admin Portal and sits on a separate account (not admin, just the account for the DE to work with)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I use Entra Application with delegated permissions to use PBI REST APIs to generate token for secured embedding on our legacy web app?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 07:32:17 GMT</pubDate>
    <dc:creator>mgm-vhx</dc:creator>
    <dc:date>2024-03-07T07:32:17Z</dc:date>
    <item>
      <title>Power BI REST API return PowerBINotAuthorizedException</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-return-PowerBINotAuthorizedException/m-p/3748063#M50171</link>
      <description>&lt;P&gt;Hello guys,&lt;BR /&gt;&lt;BR /&gt;We are working on embedding Power BI Report into a legacy web application. We have finished setting up:&lt;BR /&gt;- Entra ID App Registration + Client Secret + Power BI API Readonly Permissions&lt;/P&gt;&lt;P&gt;- The only step we could not reproduce is this &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-core#step-6---service-principal-api-access" target="_self"&gt;Step 6&lt;/A&gt;. We can only see Allow service principles access to Fabrics API on the PBI admin account&lt;/P&gt;&lt;P&gt;- The Power BI Pro account doesn't have access to Admin Portal and sits on a separate account (not admin, just the account for the DE to work with)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I use Entra Application with delegated permissions to use PBI REST APIs to generate token for secured embedding on our legacy web app?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 07:32:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-return-PowerBINotAuthorizedException/m-p/3748063#M50171</guid>
      <dc:creator>mgm-vhx</dc:creator>
      <dc:date>2024-03-07T07:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API return PowerBINotAuthorizedException</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-return-PowerBINotAuthorizedException/m-p/3750603#M50217</link>
      <description>&lt;P&gt;Today we found out that:&lt;/P&gt;&lt;P&gt;- We could skip Step 6 in the tutorial since we could not find it&lt;/P&gt;&lt;P&gt;- We've forget to include the Entra App (Service Principle) in in Workspace access which of course lead to 401 Unauthorized. (we did this with the Pro PBI account which is Workspace/Group owner and it finally works!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 06:35:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-return-PowerBINotAuthorizedException/m-p/3750603#M50217</guid>
      <dc:creator>mgm-vhx</dc:creator>
      <dc:date>2024-03-08T06:35:12Z</dc:date>
    </item>
  </channel>
</rss>

