Edit

contentActivity resource type

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.

Represents audit data from content processing for Microsoft Purview to ensure compliance, track user actions, and detect unusual behavior.

Methods

Method Return type Description
Create contentActivity Create a new contentActivity object.

Properties

Property Type Description
contentMetadata processContentRequest Contains metadata about the content, activity, device, and integrated application. When creating a contentActivity, submit content entries in contentToProcess.contentEntries; use contentActivityMetadata to report a DLP enforcement result or evaluationIncompleteActivityMetadata to report a Secure by Default (SBD) policy evaluation that couldn't be completed. An incomplete-evaluation entry requires errorAction and inspectionIncompleteReason.
id String Unique identifier.
scopeIdentifier String The scope identified from computed protection scopes.
userId String ID of the user.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.contentActivity",
  "id": "String (identifier)",
  "userId": "String",
  "scopeIdentifier": "String",
  "contentMetadata": {
    "@odata.type": "microsoft.graph.processContentRequest"
  }
}