<?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 Facing problems with continuationUri for activityEventEntities (Admin - Get Activity Events) in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Facing-problems-with-continuationUri-for-activityEventEntities/m-p/944586#M22445</link>
    <description>&lt;P&gt;I'm working with several Power BI API's and they all give me results. I don't use any SDK. I simply perform a&amp;nbsp;HttpWebRequest in C# like this:&lt;BR /&gt;&lt;BR /&gt;HttpWebRequest request;&lt;BR /&gt;request = System.Net.HttpWebRequest.CreateHttp(uri);&lt;BR /&gt;request.KeepAlive = true;&lt;BR /&gt;request.Method = "GET";&lt;BR /&gt;request.ContentLength = 0;&lt;BR /&gt;request.Headers.Add("Authorization", String.Format("Bearer {0}", AccessToken));&lt;BR /&gt;&lt;BR /&gt;Never a problem with that. However . . . I cannot get the API working in case of the&amp;nbsp;continuationUri for activityEventEntities.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I tried two methods: using the&amp;nbsp;continuationUri and getting an AccessToken by creating a new Azure AD Authentication Library (ADAL) context. This is the normal procedure for avery API. In this case: that gives me a 403-error. This I can understand somehow. There is not only a continuationUri. There is also a&amp;nbsp;continuationToken. Not for nothing I assume. So, I tried the second method.&lt;BR /&gt;&lt;BR /&gt;The second method is calling the API&amp;nbsp;using both the&amp;nbsp;continuationUri and the&amp;nbsp;continuationToken. So I don't ask or create an access token myself. Only there is no difference in the result. Again a&amp;nbsp;403-error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first request is giving good result (including a continuationUri and continuationToken):&lt;/P&gt;&lt;P&gt;Uri = &lt;A href="https://api.powerbi.com/v1.0/myorg/admin/activityevents?startDateTime='2020-02-23T00:00:00.000Z'&amp;amp;endDateTime='2020-02-23T23:59:59.999Z" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/admin/activityevents?startDateTime='2020-02-23T00:00:00.000Z'&amp;amp;endDateTime='2020-02-23T23:59:59.999Z&lt;/A&gt;'&lt;BR /&gt;Token = eyJ0eXAiOiJKV1{etc}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My continuation request (using the received continuationUri and continuationToken) is giving 403 result:&lt;/P&gt;&lt;P&gt;Uri = &lt;A href="https://wabi-north-europe-c-primary-redirect.analysis.windows.net/v1.0/myorg/admin/activityevents?continuationToken='LDIwMjAtMDItM{etc" target="_blank" rel="noopener"&gt;https://wabi-north-europe-c-primary-redirect.analysis.windows.net/v1.0/myorg/admin/activityevents?continuationToken='LDIwMjAtMDItM{etc&lt;/A&gt;}'&lt;BR /&gt;Token = LDIwMjAtMDItM{etc}&lt;BR /&gt;&lt;BR /&gt;Now my question is: is there anyone who got this API (using the continuationUri for activityEventEntities) working ? If so: how ? What am I doing wrong?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2020 06:14:50 GMT</pubDate>
    <dc:creator>WalTig</dc:creator>
    <dc:date>2020-02-24T06:14:50Z</dc:date>
    <item>
      <title>Facing problems with continuationUri for activityEventEntities (Admin - Get Activity Events)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Facing-problems-with-continuationUri-for-activityEventEntities/m-p/944586#M22445</link>
      <description>&lt;P&gt;I'm working with several Power BI API's and they all give me results. I don't use any SDK. I simply perform a&amp;nbsp;HttpWebRequest in C# like this:&lt;BR /&gt;&lt;BR /&gt;HttpWebRequest request;&lt;BR /&gt;request = System.Net.HttpWebRequest.CreateHttp(uri);&lt;BR /&gt;request.KeepAlive = true;&lt;BR /&gt;request.Method = "GET";&lt;BR /&gt;request.ContentLength = 0;&lt;BR /&gt;request.Headers.Add("Authorization", String.Format("Bearer {0}", AccessToken));&lt;BR /&gt;&lt;BR /&gt;Never a problem with that. However . . . I cannot get the API working in case of the&amp;nbsp;continuationUri for activityEventEntities.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I tried two methods: using the&amp;nbsp;continuationUri and getting an AccessToken by creating a new Azure AD Authentication Library (ADAL) context. This is the normal procedure for avery API. In this case: that gives me a 403-error. This I can understand somehow. There is not only a continuationUri. There is also a&amp;nbsp;continuationToken. Not for nothing I assume. So, I tried the second method.&lt;BR /&gt;&lt;BR /&gt;The second method is calling the API&amp;nbsp;using both the&amp;nbsp;continuationUri and the&amp;nbsp;continuationToken. So I don't ask or create an access token myself. Only there is no difference in the result. Again a&amp;nbsp;403-error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first request is giving good result (including a continuationUri and continuationToken):&lt;/P&gt;&lt;P&gt;Uri = &lt;A href="https://api.powerbi.com/v1.0/myorg/admin/activityevents?startDateTime='2020-02-23T00:00:00.000Z'&amp;amp;endDateTime='2020-02-23T23:59:59.999Z" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/admin/activityevents?startDateTime='2020-02-23T00:00:00.000Z'&amp;amp;endDateTime='2020-02-23T23:59:59.999Z&lt;/A&gt;'&lt;BR /&gt;Token = eyJ0eXAiOiJKV1{etc}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My continuation request (using the received continuationUri and continuationToken) is giving 403 result:&lt;/P&gt;&lt;P&gt;Uri = &lt;A href="https://wabi-north-europe-c-primary-redirect.analysis.windows.net/v1.0/myorg/admin/activityevents?continuationToken='LDIwMjAtMDItM{etc" target="_blank" rel="noopener"&gt;https://wabi-north-europe-c-primary-redirect.analysis.windows.net/v1.0/myorg/admin/activityevents?continuationToken='LDIwMjAtMDItM{etc&lt;/A&gt;}'&lt;BR /&gt;Token = LDIwMjAtMDItM{etc}&lt;BR /&gt;&lt;BR /&gt;Now my question is: is there anyone who got this API (using the continuationUri for activityEventEntities) working ? If so: how ? What am I doing wrong?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 06:14:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Facing-problems-with-continuationUri-for-activityEventEntities/m-p/944586#M22445</guid>
      <dc:creator>WalTig</dc:creator>
      <dc:date>2020-02-24T06:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problems with continuationUri for activityEventEntities (Admin - Get Activity Events)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Facing-problems-with-continuationUri-for-activityEventEntities/m-p/1222262#M24731</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you get this to work?&lt;/P&gt;&lt;P&gt;Have been trying to use the token but keep getting an error saying is expecting a literal type even if I enclose the token in single quotes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;liljath&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 17:11:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Facing-problems-with-continuationUri-for-activityEventEntities/m-p/1222262#M24731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-14T17:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problems with continuationUri for activityEventEntities (Admin - Get Activity Events)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Facing-problems-with-continuationUri-for-activityEventEntities/m-p/1235252#M24832</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe these observations will help you out:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Get-Activity-Events-API-doesn-t-return-activities-when/td-p/900516" target="_blank"&gt;https://community.powerbi.com/t5/Developer/Get-Activity-Events-API-doesn-t-return-activities-when/td-p/900516&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards, Walter&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 13:42:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Facing-problems-with-continuationUri-for-activityEventEntities/m-p/1235252#M24832</guid>
      <dc:creator>WalTig</dc:creator>
      <dc:date>2020-07-20T13:42:25Z</dc:date>
    </item>
  </channel>
</rss>

