<?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 Power BI Get Activity Events API Error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Get-Activity-Events-API-Error/m-p/3182480#M42149</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am trying to get the activity data from the Power BI REST APIs, using the Get Activity Events API call. Following the solution shown in the video:&amp;nbsp;&lt;A href="https://bielite.com/blog/building-a-power-bi-admin-report/" target="_blank"&gt;https://bielite.com/blog/building-a-power-bi-admin-report/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, I keep getting the below error:&lt;BR /&gt;&lt;BR /&gt;Expression.Error: The 'Authorization' header is only supported when connecting anonymously. These headers can be used with all authentication types: Accept, Accept-Charset, Accept-Encoding, Accept-Language, Cache-Control, Content-Type, If-Modified-Since, Prefer, Range, Referer &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am authenticating anonymously using the app which has tenant ready and write application permissions. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Appreciate if you can provide an guidance on how to fix this error. Below are the screenshots of my functions and query.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gb2_0-1681237508130.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/900122i6AB08B2B60665845/image-size/large?v=v2&amp;amp;px=999" role="button" title="gb2_0-1681237508130.png" alt="gb2_0-1681237508130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gb2_1-1681237520633.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/900123i390E8D293D8FA807/image-size/large?v=v2&amp;amp;px=999" role="button" title="gb2_1-1681237520633.png" alt="gb2_1-1681237520633.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gb2_2-1681237542123.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/900125iAEDCE2184CF6E201/image-size/large?v=v2&amp;amp;px=999" role="button" title="gb2_2-1681237542123.png" alt="gb2_2-1681237542123.png" /&gt;&lt;/span&gt;&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="gb2_3-1681237553521.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/900126iC18F7BF49212A1B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="gb2_3-1681237553521.png" alt="gb2_3-1681237553521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 18:26:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-04-11T18:26:08Z</dc:date>
    <item>
      <title>Power BI Get Activity Events API Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Get-Activity-Events-API-Error/m-p/3182480#M42149</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to get the activity data from the Power BI REST APIs, using the Get Activity Events API call. Following the solution shown in the video:&amp;nbsp;&lt;A href="https://bielite.com/blog/building-a-power-bi-admin-report/" target="_blank"&gt;https://bielite.com/blog/building-a-power-bi-admin-report/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, I keep getting the below error:&lt;BR /&gt;&lt;BR /&gt;Expression.Error: The 'Authorization' header is only supported when connecting anonymously. These headers can be used with all authentication types: Accept, Accept-Charset, Accept-Encoding, Accept-Language, Cache-Control, Content-Type, If-Modified-Since, Prefer, Range, Referer &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am authenticating anonymously using the app which has tenant ready and write application permissions. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Appreciate if you can provide an guidance on how to fix this error. Below are the screenshots of my functions and query.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gb2_0-1681237508130.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/900122i6AB08B2B60665845/image-size/large?v=v2&amp;amp;px=999" role="button" title="gb2_0-1681237508130.png" alt="gb2_0-1681237508130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gb2_1-1681237520633.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/900123i390E8D293D8FA807/image-size/large?v=v2&amp;amp;px=999" role="button" title="gb2_1-1681237520633.png" alt="gb2_1-1681237520633.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gb2_2-1681237542123.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/900125iAEDCE2184CF6E201/image-size/large?v=v2&amp;amp;px=999" role="button" title="gb2_2-1681237542123.png" alt="gb2_2-1681237542123.png" /&gt;&lt;/span&gt;&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="gb2_3-1681237553521.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/900126iC18F7BF49212A1B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="gb2_3-1681237553521.png" alt="gb2_3-1681237553521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 18:26:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Get-Activity-Events-API-Error/m-p/3182480#M42149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-11T18:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Get Activity Events API Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Get-Activity-Events-API-Error/m-p/3185623#M42170</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&gt;Please make sure your data source connection for the link is set as annonymous.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Steps : File &amp;gt; Option and settings &amp;gt; Data source settings&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then find the permission and Edit Permissions to check whether the connection type for the credential is anonymous.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vrzhoumsft_1-1681370955002.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/901001i733527B1819CD0A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vrzhoumsft_1-1681370955002.png" alt="vrzhoumsft_1-1681370955002.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It should look like as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vrzhoumsft_0-1681370703428.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/900998i954FE40E8582B00F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vrzhoumsft_0-1681370703428.png" alt="vrzhoumsft_0-1681370703428.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 07:29:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Get-Activity-Events-API-Error/m-p/3185623#M42170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-13T07:29:37Z</dc:date>
    </item>
  </channel>
</rss>

