<?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: Admin - Get Activity Events PowerShell in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events-PowerShell/m-p/1586362#M27104</link>
    <description>&lt;P&gt;According to &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents&lt;/A&gt; this API requires a GET method.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jan 2021 13:53:15 GMT</pubDate>
    <dc:creator>micpol</dc:creator>
    <dc:date>2021-01-07T13:53:15Z</dc:date>
    <item>
      <title>Admin - Get Activity Events PowerShell</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events-PowerShell/m-p/1001061#M22890</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm trying to extract Power BI Activity logs. Here is my approach,&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;I have a Power BI Service account with Admin privilege&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Registered an App in Azure Portal with Tenanut Read and Write permissions&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Successfully generated access token using AzureRM module in Powershell&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Struck here - Calling &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; API&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;I got this error -&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Invoke-RestMethod : {"Message":"The requested resource does not support http method 'POST'."}&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 16:51:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events-PowerShell/m-p/1001061#M22890</guid>
      <dc:creator>SivaMani</dc:creator>
      <dc:date>2020-03-31T16:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Admin - Get Activity Events PowerShell</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events-PowerShell/m-p/1586362#M27104</link>
      <description>&lt;P&gt;According to &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents&lt;/A&gt; this API requires a GET method.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 13:53:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events-PowerShell/m-p/1586362#M27104</guid>
      <dc:creator>micpol</dc:creator>
      <dc:date>2021-01-07T13:53:15Z</dc:date>
    </item>
  </channel>
</rss>

