<?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 Usage report across entire tenant - REST API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Usage-report-across-entire-tenant-REST-API/m-p/3023630#M40743</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm thinking of using powershell to create the users activity reports via REST API. Does that mean I have to be the admin in power shell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm admin in PBI, but not in powershell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 15:22:48 GMT</pubDate>
    <dc:creator>ROG</dc:creator>
    <dc:date>2023-01-16T15:22:48Z</dc:date>
    <item>
      <title>Usage report across entire tenant - REST API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Usage-report-across-entire-tenant-REST-API/m-p/3023630#M40743</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm thinking of using powershell to create the users activity reports via REST API. Does that mean I have to be the admin in power shell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm admin in PBI, but not in powershell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 15:22:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Usage-report-across-entire-tenant-REST-API/m-p/3023630#M40743</guid>
      <dc:creator>ROG</dc:creator>
      <dc:date>2023-01-16T15:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Usage report across entire tenant - REST API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Usage-report-across-entire-tenant-REST-API/m-p/3024513#M40748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/398723"&gt;@ROG&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;REST APIs with PowerShell provides great flexibility in the automation. You don’t need to bother about app registration and access token generation, considering it is a bit hard and a big process. Power BI provides PowerShell cmdlets to directly call Power BI REST APIs. You have options to select activities by activity type or user ID. You must specify a start date and end date. Check out&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/service-admin-auditing#get-powerbiactivityevent-cmdlet" target="_blank"&gt;Get-PowerBIActivityEvent cmdlet&lt;/A&gt;&amp;nbsp;for sample code and other information.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;You must either be a global admin or a Power BI service admin to access the Power BI activity log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 02:25:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Usage-report-across-entire-tenant-REST-API/m-p/3024513#M40748</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2023-01-17T02:25:03Z</dc:date>
    </item>
  </channel>
</rss>

