<?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: Operation returned an invalid status code Forbidden Microsoft.PowerBI.Api.V2.Reports in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1582210#M27040</link>
    <description>&lt;P&gt;If you have a Power BI Pro license you can raise a ticket directly.&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/support/pro/" target="_blank"&gt;https://powerbi.microsoft.com/en-us/support/pro/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2021 14:20:30 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2021-01-05T14:20:30Z</dc:date>
    <item>
      <title>Operation returned an invalid status code Forbidden Microsoft.PowerBI.Api.V2.Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1581997#M27032</link>
      <description>&lt;P&gt;Dear Support Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running Power bi Embed report for user inside external asp.net application. It was working fine, I did not face any issue there.&lt;/P&gt;&lt;P&gt;But from last week I am finding like none of the Power bi reports are loading inside asp.net application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i debug the application then found below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Operation returned an invalid status code Forbidden&amp;nbsp; Microsoft.PowerBI.Api.V2.Reports.&amp;lt;GenerateTokenInGroupWithHttpMessagesAsync&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have visited the app registration inside Azure and in the API Permission section i found below information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"This application is using Azure AD Graph API, which is on a deprecation path. Starting June 30th, 2020 we will no longer add any new features to Azure AD Graph API. We strongly recommend that you upgrade your application to use Microsoft Graph API instead of Azure AD Graph API to access Azure Active Directory resources."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this case i added Microsoft Graph API and provided permission for it like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PowerbiIssue.PNG" style="width: 876px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/427100i8F5359AD13441003/image-size/large?v=v2&amp;amp;px=999" role="button" title="PowerbiIssue.PNG" alt="PowerbiIssue.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you can see in above image, We have provided all the required permission.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For accessing the Power bi API we use ClientID, Power bi Pro Userid and Password to authenticate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But getting above exception in below piece of code only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var tokenResponse = client.Reports.GenerateTokenInGroup(GroupId, report.Id, generateTokenRequestParameters);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly check and suggest, Since this issue is occurred in Production environment, Please treat it as urgent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikash&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 12:37:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1581997#M27032</guid>
      <dc:creator>Healthec</dc:creator>
      <dc:date>2021-01-05T12:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Operation returned an invalid status code Forbidden Microsoft.PowerBI.Api.V2.Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1582210#M27040</link>
      <description>&lt;P&gt;If you have a Power BI Pro license you can raise a ticket directly.&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/support/pro/" target="_blank"&gt;https://powerbi.microsoft.com/en-us/support/pro/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 14:20:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1582210#M27040</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-01-05T14:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Operation returned an invalid status code Forbidden Microsoft.PowerBI.Api.V2.Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1584581#M27072</link>
      <description>&lt;P&gt;Hi Ibendlin,&lt;/P&gt;&lt;P&gt;Thank you for the suggestion, I have gone through the link and as i have Pro Account login with Pro account and submit a ticket for the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have got also some service request number, The response time is approx 8 hours and it is going to be complete but did not get any notification through mail. Can we check this service request number to trace the ticket status?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 14:29:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1584581#M27072</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-06T14:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Operation returned an invalid status code Forbidden Microsoft.PowerBI.Api.V2.Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1587786#M27131</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As requested by support team i have logged and create ticket in&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/support/pro/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://powerbi.microsoft.com/en-us/support/pro/ &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with Pro account and i got one request number:&amp;nbsp;121010626002294&lt;/P&gt;&lt;P&gt;But did not get any response through mail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly suggest, How could i track this request number to track the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikash&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 12:37:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1587786#M27131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-08T12:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Operation returned an invalid status code Forbidden Microsoft.PowerBI.Api.V2.Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1589295#M27161</link>
      <description>&lt;P&gt;Hi Power bi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please respond on above. It is a production issue and has to be fix asap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikash&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 06:28:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1589295#M27161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-11T06:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Operation returned an invalid status code Forbidden Microsoft.PowerBI.Api.V2.Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1604837#M27298</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/141441"&gt;@Healthec&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please review the content in the following links, hope they can help you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mikehardy.com/2018/04/05/powerbi-embedded-full-walk-through/" target="_self"&gt;&lt;STRONG&gt;PowerBI Embedded Full Walk Through&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Power-BI-Embed-report-JavaScript/m-p/228938" target="_self"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Power BI Embed report JavaScript&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/PowerBI-API-V2-Dataset/td-p/222503" target="_self"&gt;&lt;STRONG&gt;&lt;SPAN&gt;PowerBI.API.V2 Dataset.DeleteDatasetByIdInGroupWithHttpMessagesAsync Unauthorized response&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 06:26:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden-Microsoft/m-p/1604837#M27298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-18T06:26:10Z</dc:date>
    </item>
  </channel>
</rss>

