<?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 403 error on generating token in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/403-error-on-generating-token/m-p/1670294#M27890</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having some problems setting up an azure application to use as the service principal for accessing PowerBI. I have reviewed other similar issues, but have not been able to determine what I am doing wrong. I've set up my azure application, and am able to create an access token using Paw/Postman, but when I try to use the access token to access the PowerBI APIs, I am struck with a 403. My application has been granted admin access to all PowerBI rest endpoints, I am using the client credentials flow and I am using &lt;A href="https://domain/application_id/.default" target="_blank" rel="noopener"&gt;https://domain/application_id/.default&lt;/A&gt;&amp;nbsp;as the scope.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong? &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2021 21:54:22 GMT</pubDate>
    <dc:creator>hypere</dc:creator>
    <dc:date>2021-02-16T21:54:22Z</dc:date>
    <item>
      <title>403 error on generating token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/403-error-on-generating-token/m-p/1670294#M27890</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having some problems setting up an azure application to use as the service principal for accessing PowerBI. I have reviewed other similar issues, but have not been able to determine what I am doing wrong. I've set up my azure application, and am able to create an access token using Paw/Postman, but when I try to use the access token to access the PowerBI APIs, I am struck with a 403. My application has been granted admin access to all PowerBI rest endpoints, I am using the client credentials flow and I am using &lt;A href="https://domain/application_id/.default" target="_blank" rel="noopener"&gt;https://domain/application_id/.default&lt;/A&gt;&amp;nbsp;as the scope.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong? &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 21:54:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/403-error-on-generating-token/m-p/1670294#M27890</guid>
      <dc:creator>hypere</dc:creator>
      <dc:date>2021-02-16T21:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: 403 error on generating token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/403-error-on-generating-token/m-p/1673623#M27924</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/285799"&gt;@hypere&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the links.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/403-Error-when-trying-to-access-REST-API/m-p/296324" target="_self"&gt;403 Error when trying to access REST API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Service/Power-BI-REST-API-gives-403-error/m-p/1232096" target="_self"&gt;Power BI REST API gives 403 error&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Power-BI-REST-API-gives-403-error-User-does-not-have-access-to/m-p/607049" target="_self"&gt;Power BI REST API gives 403 error (User does not have access to group)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/46103421/receiving-a-forbidden-403-when-connecting-to-power-bi-api" target="_self"&gt;Receiving a 'Forbidden (403)' when connecting to Power BI API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 06:25:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/403-error-on-generating-token/m-p/1673623#M27924</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2021-02-18T06:25:06Z</dc:date>
    </item>
  </channel>
</rss>

