getSharePointSiteUsageDetail for a specific site inside root

Kinasz, Mateus 60 Reputation points
2023-09-28T14:47:27.35+00:00

Hi,

I am having difficulty understanding whether it is possible to use getSharePointSiteUsageDetail for another site inside the root. I can request with the endpoint "https://graph.microsoft.com/v1.0/reports/getSharePointSiteUsageDetail(period='D7')" and the response will be for all sites in the root. However, what I want is for a specific site inside the root.

Is it possible to use another site_id in for an endpoint?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,008 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 105.7K Reputation points MVP
    2023-09-28T16:50:16.9666667+00:00

    The report gives you data on the site collection level, though Microsoft uses "site" and "site collection" interchangeably and creates some confusion...

    You cannot run it against a specific site/site collection, but you can always filter out the output based on the siteID.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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