Share via

Sharepoint Analytics API -- allTime suddenly empty, but lastSevenDays still works

Anonymous
2025-05-01T11:37:52.3833333+00:00

Last week I was able to hit:

https://contoso.sharepoint.com/_api/v2.1/drives/{drive-id}/items/{item-id}/analytics/allTime?$expand=activities

And it would give me a response containing an activities array. However, this morning the activities array is missing from the response.

If I change to the lastSevenDays endpoint (no other changes -- same drive and file ID) then the activities array is present.

Am I doing something wrong? Or is there some outage?

Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.