<?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 Admin - Get Activity Events question on usage in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events-question-on-usage/m-p/3077179#M41223</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the article from MS:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Speficially these two parts of the article&lt;/P&gt;&lt;P&gt;Under Permissions heading&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nastip_0-1676274493777.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/870652iB2FCF0ED7920FD20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nastip_0-1676274493777.png" alt="nastip_0-1676274493777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under Required Scope&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nastip_1-1676274529899.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/870653i1DFDC6B7634DD31A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nastip_1-1676274529899.png" alt="nastip_1-1676274529899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this mean that the registered app can only be setup to do one or the either?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As in, if I use it to authenticate as a service principal the registered app must not have &lt;STRONG&gt;Tenant.Read.All&lt;/STRONG&gt; or &lt;STRONG&gt;Tenant.ReadWrite.All&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I want to use the registered app to request an admin access token &lt;STRONG&gt;Tenant.Read.All&lt;/STRONG&gt; or &lt;STRONG&gt;Tenant.ReadWrite.All&lt;/STRONG&gt; one of these must be present?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 07:52:30 GMT</pubDate>
    <dc:creator>nastip</dc:creator>
    <dc:date>2023-02-13T07:52:30Z</dc:date>
    <item>
      <title>Admin - Get Activity Events question on usage</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events-question-on-usage/m-p/3077179#M41223</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the article from MS:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Speficially these two parts of the article&lt;/P&gt;&lt;P&gt;Under Permissions heading&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nastip_0-1676274493777.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/870652iB2FCF0ED7920FD20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nastip_0-1676274493777.png" alt="nastip_0-1676274493777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under Required Scope&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nastip_1-1676274529899.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/870653i1DFDC6B7634DD31A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nastip_1-1676274529899.png" alt="nastip_1-1676274529899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this mean that the registered app can only be setup to do one or the either?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As in, if I use it to authenticate as a service principal the registered app must not have &lt;STRONG&gt;Tenant.Read.All&lt;/STRONG&gt; or &lt;STRONG&gt;Tenant.ReadWrite.All&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I want to use the registered app to request an admin access token &lt;STRONG&gt;Tenant.Read.All&lt;/STRONG&gt; or &lt;STRONG&gt;Tenant.ReadWrite.All&lt;/STRONG&gt; one of these must be present?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 07:52:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events-question-on-usage/m-p/3077179#M41223</guid>
      <dc:creator>nastip</dc:creator>
      <dc:date>2023-02-13T07:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Admin - Get Activity Events question on usage</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events-question-on-usage/m-p/3079131#M41239</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/480867"&gt;@nastip&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;It mean you need to do both two settings.&amp;nbsp;In fact, the permission of register app should be the prerequisite of rest api usages. You need at least enable one of the scope permission that the document mentions or these api could not able to be used.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;BTW, you can take a look at the official document about 'get started with power bi rest API' usages to know more about them:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/register-app?tabs=customers" target="_blank"&gt;Get started with Power BI Embedded - Power BI | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&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>Tue, 14 Feb 2023 08:52:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events-question-on-usage/m-p/3079131#M41239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-14T08:52:45Z</dc:date>
    </item>
  </channel>
</rss>

