SharePoint site usage reports
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
You can get a high level view of the value you are getting from SharePoint in terms of the total number of files that users store in SharePoint sites, how many files are actively being used, and the storage consumed across all these sites. Then, you can drill into the SharePoint site usage report to understand the trends and per site level details for all sites.
Note: For details about different report views and names, see Microsoft 365 reports - SharePoint site usage.
Reports
Function | CSV return type | JSON return type | Description |
---|---|---|---|
Get site detail | Stream | Stream | Get details about SharePoint site usage. |
Get file counts | Stream | Stream | Get the total number of files across all sites and the number of active files. A file (user or system) is considered active if it has been saved, synced, modified, or shared within the specified time period. |
Get site counts | Stream | Stream | Get the trend of total and active site count during the reporting period. |
Get storage | Stream | Stream | Get the trend of storage allocated and consumed during the reporting period. |
Get pages | Stream | Stream | Get the number of pages viewed across all sites. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for