<?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 Getting access token to request PowerAPI in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Getting-access-token-to-request-PowerAPI/m-p/1596005#M27219</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying the get an access token in order to fetch PowerBi API. Is there a way to do it without having to pay for a capacity or a PowerBI premium licence ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I want to do :&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;User login and consent to app permissions&lt;/LI&gt;&lt;LI&gt;App get an access token&lt;/LI&gt;&lt;LI&gt;App can make request in order to get list of reports or create embed token&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have added API permissions for Microsoft Service (Reports.Read, etc..). I don't really understand why I can't use PowerBI API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have implemented the same flow for Sharepoint / OneDrive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone help me ?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2021 06:38:46 GMT</pubDate>
    <dc:creator>victordavid</dc:creator>
    <dc:date>2021-01-13T06:38:46Z</dc:date>
    <item>
      <title>Getting access token to request PowerAPI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Getting-access-token-to-request-PowerAPI/m-p/1596005#M27219</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying the get an access token in order to fetch PowerBi API. Is there a way to do it without having to pay for a capacity or a PowerBI premium licence ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I want to do :&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;User login and consent to app permissions&lt;/LI&gt;&lt;LI&gt;App get an access token&lt;/LI&gt;&lt;LI&gt;App can make request in order to get list of reports or create embed token&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have added API permissions for Microsoft Service (Reports.Read, etc..). I don't really understand why I can't use PowerBI API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have implemented the same flow for Sharepoint / OneDrive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone help me ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 06:38:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Getting-access-token-to-request-PowerAPI/m-p/1596005#M27219</guid>
      <dc:creator>victordavid</dc:creator>
      <dc:date>2021-01-13T06:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting access token to request PowerAPI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Getting-access-token-to-request-PowerAPI/m-p/1600890#M27254</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/279733"&gt;@victordavid&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on your description, you have a pro license.&lt;/P&gt;&lt;P&gt;Embed tokens with PRO license are intended for development testing, so a Power BI master account or service principal can only generate a limited number of tokens.&lt;/P&gt;&lt;P&gt;Please follow the steps for this blog:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sqlshack.com/how-to-access-power-bi-rest-apis-programmatically/" target="_self"&gt;https://www.sqlshack.com/how-to-access-power-bi-rest-apis-programmatically/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&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;</description>
      <pubDate>Fri, 15 Jan 2021 02:48:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Getting-access-token-to-request-PowerAPI/m-p/1600890#M27254</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-01-15T02:48:47Z</dc:date>
    </item>
  </channel>
</rss>

