Forum Discussion

quyendang's avatar
quyendang
New Member
1 year ago
Solved

Admin - Get Activity Events - Continuation Token was the same for different calls

I'm following the documentation here Admin - Get Activity Events - REST API (Power BI Power BI REST APIs) | Microsoft Learn to get list of activities for my PowerBI workspace. Followed everything, an...
  • Shahid12523's avatar
    1 year ago

    This isn’t a bug — it’s expected with the Admin – Get Activity Events API.

    The same continuation token can appear across multiple calls if there are no more pages left.

    You should stop calling when the API returns the same continuationToken/URI again, as that means you’ve reached the end of results.

    Only call the continuation URI until it changes; repeating it will just re-fetch the last page.

     

    So: process records, check if continuationToken is new → if not, you’re done.