<?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 consent issue while getting token in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-consent-issue-while-getting-token/m-p/2137695#M32396</link>
    <description>&lt;P&gt;In Azure portal, there are 2 directorys assigned to my user (&lt;A href="mailto:user@company.com" target="_blank" rel="noopener"&gt;user@company.com&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I have registed app under Directory 1 and granted admin concent, then&amp;nbsp;&lt;SPAN&gt;I used client id,username and password to get the token (working fine)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. I have reistered app under Directory 2 and granted admin concent then I used client id,username and password to get the token and I get the below error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Error Details:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One or more errors occurred. (AADSTS65001: The user or administrator has not consented to use the application with ID '345cdacc-12ee-4d02-9c42-c617e3642c9d' named 'PowerBiReports'. Send an interactive authorization request for this user and resource.&lt;BR /&gt;Trace ID: e7201210-02cb-41b0-9696-790defbc1f01&lt;BR /&gt;Correlation ID: f00aca65-6625-4c87-ac8e-367c1eb0892c&lt;BR /&gt;Timestamp: 2021-10-15 14:13:45Z)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Oct 2021 14:59:49 GMT</pubDate>
    <dc:creator>kulandai</dc:creator>
    <dc:date>2021-10-15T14:59:49Z</dc:date>
    <item>
      <title>Power BI consent issue while getting token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-consent-issue-while-getting-token/m-p/2137695#M32396</link>
      <description>&lt;P&gt;In Azure portal, there are 2 directorys assigned to my user (&lt;A href="mailto:user@company.com" target="_blank" rel="noopener"&gt;user@company.com&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I have registed app under Directory 1 and granted admin concent, then&amp;nbsp;&lt;SPAN&gt;I used client id,username and password to get the token (working fine)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. I have reistered app under Directory 2 and granted admin concent then I used client id,username and password to get the token and I get the below error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Error Details:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One or more errors occurred. (AADSTS65001: The user or administrator has not consented to use the application with ID '345cdacc-12ee-4d02-9c42-c617e3642c9d' named 'PowerBiReports'. Send an interactive authorization request for this user and resource.&lt;BR /&gt;Trace ID: e7201210-02cb-41b0-9696-790defbc1f01&lt;BR /&gt;Correlation ID: f00aca65-6625-4c87-ac8e-367c1eb0892c&lt;BR /&gt;Timestamp: 2021-10-15 14:13:45Z)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 14:59:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-consent-issue-while-getting-token/m-p/2137695#M32396</guid>
      <dc:creator>kulandai</dc:creator>
      <dc:date>2021-10-15T14:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI consent issue while getting token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-consent-issue-while-getting-token/m-p/2139258#M32414</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/332752"&gt;@kulandai&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I'd like to suggest you check the below document about the register app for power bi embedded usage, it includes the operation steps and corresponds permission settings.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/register-app?tabs=customers%2CAzure" target="_blank"&gt;Register an app to embed Power BI content in a Power BI embedded analytics application - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 02:09:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-consent-issue-while-getting-token/m-p/2139258#M32414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-18T02:09:43Z</dc:date>
    </item>
  </channel>
</rss>

