Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
bbbbbiiiii
Helper II
Helper II

Admin - Get Activity Events API Error

Hi,

 

I've TRY this API at https://docs.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events but even though I think I've entered the correct parameters but error is returned 

bbbbbiiiii_0-1641956439100.png 

bbbbbiiiii_1-1641956545747.png

I've tried other similar APIs like GetGroupsAsAdmin, etc and there is no problem. Pls kindly help! Thk u so much!

1 ACCEPTED SOLUTION
arvindsingh802
Super User
Super User

Max duration for this is 1 day and you can get data for last 30 days only -  Refer Track user activities in Power BI - Power BI | Microsoft Docs
also if it is returning large volumn of data you need to limit your time frame less than 24 as well


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

View solution in original post

3 REPLIES 3
bbbbbiiiii
Helper II
Helper II

Hi, a suggestion to Microsoft that the error message should state the exact cause which is "the start and end date should be within the past 30 days" instead of "Set your date's start time so its before the end time". Also, should include in the documentation that the max duration for this is 1 day and can only get data for the past 30 days  

bbbbbiiiii
Helper II
Helper II

Thk u so much! It is because I've followed the dates shown in the example. I've should have put in dates within the last 30 days

arvindsingh802
Super User
Super User

Max duration for this is 1 day and you can get data for last 30 days only -  Refer Track user activities in Power BI - Power BI | Microsoft Docs
also if it is returning large volumn of data you need to limit your time frame less than 24 as well


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.