<?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 Power BI Rest API authentication in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-API-authentication/m-p/1039635#M23235</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am calling Rest API to authenticate on AAD and It works without "Report.Read.All" scope but as I provide scope I get error "Ivalid Error". I have give all required permisson in application registered in AAD and given Administration grant for all permission (attached screenshot for reference).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But always I get:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#993300"&gt;&lt;SPAN&gt;"AADSTS65001:&amp;nbsp;The&amp;nbsp;user&amp;nbsp;or&amp;nbsp;administrator&amp;nbsp;has&amp;nbsp;not&amp;nbsp;consented&amp;nbsp;to&amp;nbsp;use&amp;nbsp;the&amp;nbsp;application&amp;nbsp;with&amp;nbsp;ID&amp;nbsp;'866624b8-c9a1-45f2-abc4-89d501c3a535'&amp;nbsp;named&amp;nbsp;'Bien&amp;nbsp;Desk&amp;nbsp;Power&amp;nbsp;BI&amp;nbsp;Integration'.&amp;nbsp;Send&amp;nbsp;an&amp;nbsp;interactive&amp;nbsp;authorization&amp;nbsp;request&amp;nbsp;for&amp;nbsp;this&amp;nbsp;user&amp;nbsp;and&amp;nbsp;resource.\r\nTrace&amp;nbsp;ID:&amp;nbsp;6244518c-8c00-4aea-941e-2cd384c80e00\r\nCorrelation&amp;nbsp;ID:&amp;nbsp;871721ed-f91f-45f4-b66e-9d2555ed93ee\r\nTimestamp:&amp;nbsp;2020-04-21&amp;nbsp;05:54:43Z"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Calling API for Authentication:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Power BI AUTH ERROR.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/258893iA8C9EAFA3F10519B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Power BI AUTH ERROR.png" alt="Power BI AUTH ERROR.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Given permissions in ADD and provided Grant from Admin:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AAD Permissions.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/258892i8373AF250B43080F/image-size/large?v=v2&amp;amp;px=999" role="button" title="AAD Permissions.png" alt="AAD Permissions.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What's Wrong?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2020 15:15:07 GMT</pubDate>
    <dc:creator>BienTech</dc:creator>
    <dc:date>2020-04-21T15:15:07Z</dc:date>
    <item>
      <title>Power BI Rest API authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-API-authentication/m-p/1039635#M23235</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am calling Rest API to authenticate on AAD and It works without "Report.Read.All" scope but as I provide scope I get error "Ivalid Error". I have give all required permisson in application registered in AAD and given Administration grant for all permission (attached screenshot for reference).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But always I get:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#993300"&gt;&lt;SPAN&gt;"AADSTS65001:&amp;nbsp;The&amp;nbsp;user&amp;nbsp;or&amp;nbsp;administrator&amp;nbsp;has&amp;nbsp;not&amp;nbsp;consented&amp;nbsp;to&amp;nbsp;use&amp;nbsp;the&amp;nbsp;application&amp;nbsp;with&amp;nbsp;ID&amp;nbsp;'866624b8-c9a1-45f2-abc4-89d501c3a535'&amp;nbsp;named&amp;nbsp;'Bien&amp;nbsp;Desk&amp;nbsp;Power&amp;nbsp;BI&amp;nbsp;Integration'.&amp;nbsp;Send&amp;nbsp;an&amp;nbsp;interactive&amp;nbsp;authorization&amp;nbsp;request&amp;nbsp;for&amp;nbsp;this&amp;nbsp;user&amp;nbsp;and&amp;nbsp;resource.\r\nTrace&amp;nbsp;ID:&amp;nbsp;6244518c-8c00-4aea-941e-2cd384c80e00\r\nCorrelation&amp;nbsp;ID:&amp;nbsp;871721ed-f91f-45f4-b66e-9d2555ed93ee\r\nTimestamp:&amp;nbsp;2020-04-21&amp;nbsp;05:54:43Z"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Calling API for Authentication:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Power BI AUTH ERROR.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/258893iA8C9EAFA3F10519B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Power BI AUTH ERROR.png" alt="Power BI AUTH ERROR.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Given permissions in ADD and provided Grant from Admin:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AAD Permissions.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/258892i8373AF250B43080F/image-size/large?v=v2&amp;amp;px=999" role="button" title="AAD Permissions.png" alt="AAD Permissions.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What's Wrong?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 15:15:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-API-authentication/m-p/1039635#M23235</guid>
      <dc:creator>BienTech</dc:creator>
      <dc:date>2020-04-21T15:15:07Z</dc:date>
    </item>
  </channel>
</rss>

