<?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: Get activityevents - Filter out ExportActivityEvents in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Get-activityevents-Filter-out-ExportActivityEvents/m-p/1763379#M28782</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="v-lionel-msft_0-1617607288092.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/487530i2B54E42997F06AC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="v-lionel-msft_0-1617607288092.png" alt="v-lionel-msft_0-1617607288092.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/service-admin-auditing#operations-available-in-the-audit-and-activity-logs" target="_self"&gt;Operations available in the audit and activity logs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"Is it possible to do it directly with the request&amp;nbsp;&lt;STRONG&gt;GET&lt;/STRONG&gt;"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This should not be possible, you may try this.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$filter=Activity eq 'ExportDataflow' or Activity eq 'ExportReport' or Activity eq 'ExportTile' .&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Apr 2021 07:29:01 GMT</pubDate>
    <dc:creator>v-lionel-msft</dc:creator>
    <dc:date>2021-04-05T07:29:01Z</dc:date>
    <item>
      <title>Get activityevents - Filter out ExportActivityEvents</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-activityevents-Filter-out-ExportActivityEvents/m-p/1762034#M28761</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the Power BI ActivityEvents Rest API to fetch audit events from my platform and I'd like to filter out the ExportActivityEvents. Is it possible to do it directly with the request&amp;nbsp;&lt;STRONG&gt;GET&lt;/STRONG&gt; &lt;EM&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/admin/activityevents" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/admin/activityevents&lt;/A&gt;&lt;/EM&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, can I specify multiple Activities to filter the events I need ? I tried this filter without success&amp;nbsp;&lt;EM&gt;$filter=Activity eq 'ViewDashBoard,ViewUsageMetrics'&lt;/EM&gt; .&lt;BR /&gt;Looking at the documentation it seems that you can only filter by one Activity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Simon.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 21:27:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-activityevents-Filter-out-ExportActivityEvents/m-p/1762034#M28761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-02T21:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get activityevents - Filter out ExportActivityEvents</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-activityevents-Filter-out-ExportActivityEvents/m-p/1763379#M28782</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="v-lionel-msft_0-1617607288092.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/487530i2B54E42997F06AC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="v-lionel-msft_0-1617607288092.png" alt="v-lionel-msft_0-1617607288092.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/service-admin-auditing#operations-available-in-the-audit-and-activity-logs" target="_self"&gt;Operations available in the audit and activity logs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"Is it possible to do it directly with the request&amp;nbsp;&lt;STRONG&gt;GET&lt;/STRONG&gt;"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This should not be possible, you may try this.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$filter=Activity eq 'ExportDataflow' or Activity eq 'ExportReport' or Activity eq 'ExportTile' .&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 07:29:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-activityevents-Filter-out-ExportActivityEvents/m-p/1763379#M28782</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2021-04-05T07:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get activityevents - Filter out ExportActivityEvents</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-activityevents-Filter-out-ExportActivityEvents/m-p/1764016#M28789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/184579"&gt;@v-lionel-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to use the or operator but it seems that it is not supported by the API.&lt;/P&gt;&lt;P&gt;I got a 400 with this error message:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"Logical operator 'Or' is not allowed. To allow it, set the 'AllowedLogicalOperators' property on EnableQueryAttribute or QueryValidationSettings."&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Simon.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 13:39:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-activityevents-Filter-out-ExportActivityEvents/m-p/1764016#M28789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-05T13:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get activityevents - Filter out ExportActivityEvents</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-activityevents-Filter-out-ExportActivityEvents/m-p/2280135#M33854</link>
      <description>&lt;P&gt;Did anyone get a resolution, if I try&amp;nbsp;$filter=Activity eq 'EditReport' or Activity eq 'CreateReport' I get "&lt;SPAN&gt;'Or' is not allowed. To allow it, set the 'AllowedLogicalOperators' property on EnableQueryAttribute or QueryValidationSettings"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 19:33:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-activityevents-Filter-out-ExportActivityEvents/m-p/2280135#M33854</guid>
      <dc:creator>nlevine</dc:creator>
      <dc:date>2022-01-12T19:33:56Z</dc:date>
    </item>
  </channel>
</rss>

