SharePoint activity 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 the activity of every user licensed to use SharePoint by looking at their interaction with files. You can also look at the level of collaboration going on based on the number of files shared.

Note: For details about different report views and names, see Microsoft 365 reports - SharePoint activity.

Reports

Function CSV Return Type JSON Return Type Description
Get user detail Stream Stream Get details about SharePoint activity by user.
Get file counts Stream Stream Get the number of unique, licensed users who interacted with files stored on SharePoint sites.
Get user counts Stream Stream Get the trend in the number of active users. A user is considered active if he or she has executed a file activity (save, sync, modify, or share) or visited a page within the specified time period.
Get pages Stream Stream Get the number of unique pages visited by users.