question

MarkHeptinstall-2399 avatar image
0 Votes"
MarkHeptinstall-2399 asked Danstan-MSFT edited

getSharePointSiteUsageDetail not returning any results

getSharePointSiteUsageDetail (example below) appears to have stopped working.
https://graph.microsoft.com/1.0/reports/getSharePointSiteUsageDetail(period='D7')

128756-image.png

Similar issue to a previous question:
https://docs.microsoft.com/en-us/answers/questions/306430/why-no-response-to-graph-api-reports-query.html


microsoft-graph-reports
image.png (37.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Danstan-MSFT avatar image
0 Votes"
Danstan-MSFT answered Danstan-MSFT edited

Reports Query option period='D7/D30 etc' was returning results but has been fixed, see this thread. You can try this again but NOT on Graph Explorer.

Graph Explorer does not yet support csv body, so it will try to JSON parse the CSV and hit an error which shows on your screenshot. To test this out, use Postman which will handle and display the CSV response. See screenshot below.

128962-reports-getsharepoint-usage-postman.png

The only issue that is also on this thread is that the values of Display Name and may be Site Url returns some uuids. Please try and check and upvote the question.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.