Microsoft Graph API Report Period option is not working

Wenhui Zhang 1 Reputation point
2021-08-31T06:16:37.807+00:00

Does anyone have trouble in fetching M365 email/SharePoint/OneDrive activity report data via Graph API?
Both query (query by Date and Period) were working fine few hours ago (before 1AM 2021-08-31 US time zone). But now, only the query URL with Date is working. The other one with Period (D7, D30, D90, D180), returns empty result.
I tried on MS Graph Explorer and Power Automate, and I also tried on different tenants, problem persists (I am the global admin).

Any idea? Thanks in advanced.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,587 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Jérémie Martin 11 Reputation points
    2021-09-01T14:13:36.543+00:00

    Hello,

    @Danstan
    I have also the same problem on differents tenants even if I have data on https://admin.microsoft.com/AdminPortal/Home#/reportsUsage

    Any update on this ?

    Thank you

    1 person found this answer helpful.
    0 comments No comments

  2. Danstan Onyango 3,741 Reputation points Microsoft Employee
    2021-09-02T07:03:23.703+00:00

    @Jérémie Martin @Wenhui Zhang This should be now working as expected. Please try again. Here is a screenshot from my test with period='D30'
    128544-reports-fixed.png

    1 person found this answer helpful.

  3. Wenhui Zhang 1 Reputation point
    2021-09-05T23:07:48.073+00:00

    I just tried (9AM 6th Sep 2021 Australian Time zone) on Graph API v1.0, it's not working:
    129424-image.png

    I have tried on our end and all our tenants, none of them working with version 1.0. This version has never worked since the beginning of August. Moreover, my original question is not about Graph API v1.0, because this version never worked, I was using Beta version, it works pretty smooth, but as I mentioned on my question ,even the Beta version was behaving abnormally. The response code was 200, which is fine, but returns nothing during 31st August to 1st Sep 2021 (Australian time zone), it comes back after 2nd Sep, what was going on and why your API v1.0 is working?