Forum Discussion

sb991986's avatar
sb991986
Advocate I
5 years ago
Solved

Get Activity Events API doesn't return activities when acitivity exist

Admin API - Get Activity Events (GET https://api.powerbi.com/v1.0/myorg/admin/activityevents) doesn't return data when activity data exists in the audit log.

 

When using "Admin - Get Activity Events" API it doesn't return data for dates in the past few days.

 

Example (The same user has been used and is a Power BI Administrator):

 

Doesn't return data via API (https://docs.microsoft.com/en-us/rest/api/power-bi/admin/getactivityevents#code-try-0

 

 

 

  • We found that the activity events power bi log data has been deleted as part of Power BI planned maintenece activity by Microsoft. So, that's why the API is not fetching prior days data after the maintenence.

5 Replies

  • We found that the activity events power bi log data has been deleted as part of Power BI planned maintenece activity by Microsoft. So, that's why the API is not fetching prior days data after the maintenence.

    • Anchal's avatar
      Anchal
      Regular Visitor

      Hy, good day .

      I have a query regarding get activity events REST API.

      When I am hitting this API then as a result why some of the activity status is showing blank and only some of them are succeed ..same goes for activity result as well .

    • sb991986's avatar
      sb991986
      Advocate I

      I have reduce the time frame to1 hour but it is still fetching empty rows. Any idea?

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi sb991986 ,

     

    It seems that the issue has been resolved. So please kindly Accept your post as the solution to make the thread closed. More people will benefit from it.

     

    Best Regards,
    Eyelyn Qin