Forum Discussion
Admin - Get Activity Events - Continuation Token was the same for different calls
- 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.
Hello quyendang ,
I must admit I don't understand your problem.
However, depending on the activity you want to see, you have this, which exists and is more plug-and-play.
https://learn.microsoft.com/en-us/fabric/fundamentals/enable-workspace-monitoring
I don't know if you knew about it (Works if you have a capacity).
Don't hesitate to give me a kudo if my answer helps you 😉
Have a nice day,
Vivien