<?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 Re: Problems with &amp;quot;Unauthorized&amp;quot; requests when embedding reports in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Problems-with-quot-Unauthorized-quot-requests-when-embedding/m-p/4165776#M55513</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/457600"&gt;@peterhvogel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your statement, I think you are using service principal as authentication method when you embed for customer.&lt;/P&gt;
&lt;P&gt;As far as I know, we don't need to grant permission when we choose service principal as authenctication method, we just need to add it into a security group, turn on the permission in Tenant Setting in Power BI Service and add it as a member in workspace.&lt;/P&gt;
&lt;P&gt;You may refer to &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal" target="_self"&gt;this blog&lt;/A&gt; to learn more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2024 03:03:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-23T03:03:18Z</dc:date>
    <item>
      <title>Problems with "Unauthorized" requests when embedding reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problems-with-quot-Unauthorized-quot-requests-when-embedding/m-p/4163202#M55433</link>
      <description>&lt;P&gt;I obviously don't understand what's going on with embedding Power BI reports, at least in a trial account.&lt;BR /&gt;&lt;BR /&gt;I have one working embedded report: App Registration, Permissions (granted admin consent), Principal added to security group, security group added to Power BI workspace. Worked the first time I run my app.&lt;BR /&gt;&lt;BR /&gt;But I had granted every permission that I thought might possibly be required to embed a report. I wanted, to see what permissions were actually required, so I started stripping down the list. Here's my first problem: I can strip out, literally, every permission except the base permission for Graph...and it still works (even deleted the permissions from the "used to be used list" at the bottom of the page.&lt;BR /&gt;&lt;BR /&gt;I then created another App Registration and -- honest to gosh -- it's a duplicate of my first registration with all the permissions. and its service principal is assigned to the same security group as the first registration. Except it doesn't work.&lt;BR /&gt;&lt;BR /&gt;I'm beginning to think that, in a Trial Power BI account, you get to have one registration. Once that registration is used successfully, some flag is set so that changes to the registration make no difference.&lt;BR /&gt;&lt;BR /&gt;Does any one have some insights here that will help me understand what's going on?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 18:54:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problems-with-quot-Unauthorized-quot-requests-when-embedding/m-p/4163202#M55433</guid>
      <dc:creator>peterhvogel</dc:creator>
      <dc:date>2024-09-20T18:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with "Unauthorized" requests when embedding reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problems-with-quot-Unauthorized-quot-requests-when-embedding/m-p/4165776#M55513</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/457600"&gt;@peterhvogel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your statement, I think you are using service principal as authentication method when you embed for customer.&lt;/P&gt;
&lt;P&gt;As far as I know, we don't need to grant permission when we choose service principal as authenctication method, we just need to add it into a security group, turn on the permission in Tenant Setting in Power BI Service and add it as a member in workspace.&lt;/P&gt;
&lt;P&gt;You may refer to &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal" target="_self"&gt;this blog&lt;/A&gt; to learn more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 03:03:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problems-with-quot-Unauthorized-quot-requests-when-embedding/m-p/4165776#M55513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-23T03:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with "Unauthorized" requests when embedding reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problems-with-quot-Unauthorized-quot-requests-when-embedding/m-p/4166486#M55522</link>
      <description>&lt;P&gt;I was coming around to the conclusion that "embed for customers" doesn't require any permissions (I was seduced by the wizard at&amp;nbsp;&lt;A href="https://app.powerbi.com/embedsetup" target="_blank"&gt;https://app.powerbi.com/embedsetup&lt;/A&gt;&amp;nbsp;where, as I remember, even for "embed for customer" you're asked for permissions (and, I believe, the walkthroughs and the old 'Power BI Developer in a Day' course all had you grant permissions). But my testing seemed to be showing that no permissions are required at all.&lt;BR /&gt;&lt;BR /&gt;All the other problems I was having was because I was being stupid.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 07:17:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problems-with-quot-Unauthorized-quot-requests-when-embedding/m-p/4166486#M55522</guid>
      <dc:creator>peterhvogel</dc:creator>
      <dc:date>2024-09-23T07:17:43Z</dc:date>
    </item>
  </channel>
</rss>

