Forum Discussion
Number of days returned by api admin/activityevents
- 1 year ago
Hi JLParrish,
Thank you for reaching out to the Microsoft fabric community forum.
It looks like the number of days you can retrieve using the Admin API for activity events has recently changed. Previously, you were able to fetch 29 days of data, but now the API request fails when querying beyond 27 days.
- Microsoft may have recently updated the retention period or the maximum query range for this API. While official documentation should confirm this, your observation suggests that the limit has been reduced.
- The API may impose stricter validation on the date range, rejecting requests exceeding a certain limit. Try checking the Power BI REST API documentation for any recent changes.
- If your retrieving 29 days of data was previously working but now fails, I recommend adjusting your queries to request data in smaller chunks (e.g; 27-day intervals) and then combining the results in Power BI.
If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Thank you.
Hi JLParrish,
Thank you for reaching out to the Microsoft fabric community forum.
It looks like the number of days you can retrieve using the Admin API for activity events has recently changed. Previously, you were able to fetch 29 days of data, but now the API request fails when querying beyond 27 days.
- Microsoft may have recently updated the retention period or the maximum query range for this API. While official documentation should confirm this, your observation suggests that the limit has been reduced.
- The API may impose stricter validation on the date range, rejecting requests exceeding a certain limit. Try checking the Power BI REST API documentation for any recent changes.
- If your retrieving 29 days of data was previously working but now fails, I recommend adjusting your queries to request data in smaller chunks (e.g; 27-day intervals) and then combining the results in Power BI.
If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Thank you.
- v-ssriganesh1 year ago
Community Support
Hi JLParrish,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.
Thank you.