Forum Discussion

jbouvet's avatar
jbouvet
New Member
2 years ago

API - activityevents scheduled refresh

Hi i got a question. I need to visualize and load the refresh history on our tenant. When I use the activityevents API it only returns OnDemand and ViaApi refresh. The scheduled refresh are not returned. But when i check on previous month (august) i see it. Did Microsoft changed the API? Is it a known bug?  

4 Replies

  • For more information, the last day I can visualize the Scheduled refresh in the API is the september 1st.

     

    Best regards

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi jbouvet ,

    Is there an error message in the refresh history? Are the credentials grayed out in the dataset settings?Could you please share more screenshots about the error?

     

    How to Get Your Question Answered Quickly 

     

    Please provide more details with the error.

     

    Best Regards
    Community Support Team _ Rongtie

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • SofBL's avatar
    SofBL
    Advocate II

    https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-refreshable-for-capacity 
    I noticed as well the activity events api is only showing user events. It also does not show the amount of time that a refresh took to complete, I would advice to take the admin api to collect this info. 
    but if this is everything needed, you can also have a look at the fabric capacity metrics report. 
    https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-refreshable-for-capacity
    The joy of this app is that it has a dataset attached to it which you can query as well so even when it is direct query partly getting data out of it and bring it to some other place for longer historic measures is possible.
    With this all I have to remind that it takes a while before all logging is in that dataset. So if you directly want to see what is going wrong.. I still ask the activity api and watch all schedules to be able to cancel the right refreshes or notify users of extensive usage.