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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors