<?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 Operation returned an invalid status code 'Unauthorized' in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Unauthorized/m-p/2661685#M37548</link>
    <description>&lt;P&gt;I am trying to embed power BI report but i get the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PBIuser2010_0-1658831742903.png" style="width: 568px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/754249i1866162D24FB5CD9/image-dimensions/568x149?v=v2" width="568" height="149" role="button" title="PBIuser2010_0-1658831742903.png" alt="PBIuser2010_0-1658831742903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have changed the web config file&lt;/LI&gt;&lt;LI&gt;I have given access for service principal to access power BI&lt;/LI&gt;&lt;LI&gt;I have given access to all PowerBI service API&lt;/LI&gt;&lt;LI&gt;I have added my app name in Workspace access.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still I get this error. Please help me on this.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2022 10:39:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-07-26T10:39:51Z</dc:date>
    <item>
      <title>Operation returned an invalid status code 'Unauthorized'</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Unauthorized/m-p/2661685#M37548</link>
      <description>&lt;P&gt;I am trying to embed power BI report but i get the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PBIuser2010_0-1658831742903.png" style="width: 568px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/754249i1866162D24FB5CD9/image-dimensions/568x149?v=v2" width="568" height="149" role="button" title="PBIuser2010_0-1658831742903.png" alt="PBIuser2010_0-1658831742903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have changed the web config file&lt;/LI&gt;&lt;LI&gt;I have given access for service principal to access power BI&lt;/LI&gt;&lt;LI&gt;I have given access to all PowerBI service API&lt;/LI&gt;&lt;LI&gt;I have added my app name in Workspace access.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still I get this error. Please help me on this.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 10:39:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Unauthorized/m-p/2661685#M37548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-26T10:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Operation returned an invalid status code 'Unauthorized'</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Unauthorized/m-p/2668620#M37602</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did you&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;add "Content.Create" API permission to the application registered in AAD. A similar problem is addressed in this post, please refer to&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Service/Operation-returned-an-invalid-status-code-Unauthorized/m-p/2236442" target="_blank"&gt;Solved: Operation returned an invalid status code 'Unautho... - Microsoft Power BI Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or you can follow the official article to do it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-core#method" target="_blank"&gt;Embed content in your Power BI embedded analytics application - Power BI | Microsoft Docs&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 05:52:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Unauthorized/m-p/2668620#M37602</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-07-29T05:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Operation returned an invalid status code 'Unauthorized'</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Unauthorized/m-p/2677267#M37692</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply, I did.&lt;/P&gt;&lt;P&gt;However when I create the app through Azure Active directory-&amp;gt;App registrations it doesn't throw an error. When I create it directly from azure portal it doesn't work. Maybe it's organisation's security rules.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 05:52:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Unauthorized/m-p/2677267#M37692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-03T05:52:01Z</dc:date>
    </item>
  </channel>
</rss>

