<?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: Power BI Rest admin endpoint permissions problem in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-admin-endpoint-permissions-problem/m-p/1534172#M26690</link>
    <description>&lt;P&gt;Is Microsoft just completely ignoring this issue?? I am having the same problem.&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/224608"&gt;@Alex_Stevenson&lt;/a&gt;&amp;nbsp; did you figure out your issue?&lt;/P&gt;</description>
    <pubDate>Sat, 05 Dec 2020 13:52:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-05T13:52:10Z</dc:date>
    <item>
      <title>Power BI Rest admin endpoint permissions problem</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-admin-endpoint-permissions-problem/m-p/1208696#M24644</link>
      <description>&lt;P&gt;I'm trying to use the power bi rest api admin endpoint: &lt;A href="https://api.powerbi.com/v1.0/myorg/admin/activityevents" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/admin/activityevents&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm using the authorization token generated by this other endpoint: &lt;A href="https://login.microsoftonline.com/common/oauth2/token" target="_blank"&gt;https://login.microsoftonline.com/common/oauth2/token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is my request body:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;grant_type=password
&amp;amp;username=*************
&amp;amp;password=*************
&amp;amp;client_id=*************
&amp;amp;client_secret=*************
&amp;amp;resource=https://analysis.windows.net/powerbi/api&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The token response looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
"token_type": "Bearer",
"scope": "App.Read.All Capacity.Read.All Capacity.ReadWrite.All Content.Create Dashboard.Read.All Dashboard.ReadWrite.All Dataflow.Read.All Dataflow.ReadWrite.All Dataset.Read.All Dataset.ReadWrite.All Gateway.Read.All Gateway.ReadWrite.All Report.Read.All Report.ReadWrite.All StorageAccount.Read.All StorageAccount.ReadWrite.All Workspace.Read.All Workspace.ReadWrite.All",
"expires_in": "3599",
"ext_expires_in": "3599",
"expires_on": "1594202241",
"not_before": "1594198341",
"resource": "https://analysis.windows.net/powerbi/api",
"access_token": "eyJ0eXAiOi..."
"refresh_token": "0.ATAAsjCPS..."
}
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The response scope attribute is not including Tenant.Read.All nor Tenant.ReadWrite.All even though I have added those API permissions and also granted admin consent for those permissions in the API permission azure console page.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Those permissions are required to be able to access the activityevents endpoint.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anyone point me to what I'm missing?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How can I get the Tenant.Read.All nor Tenant.ReadWrite.All permissions assigned to the scope of my authorization token?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 09:20:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-admin-endpoint-permissions-problem/m-p/1208696#M24644</guid>
      <dc:creator>Alex_Stevenson</dc:creator>
      <dc:date>2020-07-08T09:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Rest admin endpoint permissions problem</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-admin-endpoint-permissions-problem/m-p/1534172#M26690</link>
      <description>&lt;P&gt;Is Microsoft just completely ignoring this issue?? I am having the same problem.&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/224608"&gt;@Alex_Stevenson&lt;/a&gt;&amp;nbsp; did you figure out your issue?&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 13:52:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-admin-endpoint-permissions-problem/m-p/1534172#M26690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-05T13:52:10Z</dc:date>
    </item>
  </channel>
</rss>

