OneDrive 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 OneDrive by looking at their interaction with files on OneDrive. It also helps you to understand the level of collaboration going on by showing the number of files shared.

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

Reports

Function CSV return type JSON return type Description
Get user detail Stream oneDriveActivityUserDetail Get details about OneDrive activity by user.
Get user counts Stream siteActivitySummary Get the trend in the number of active OneDrive users.
Get file counts Stream siteActivitySummary Get the number of unique, licensed users that performed file interactions against any OneDrive account.