ESC
Type to search...

Content.Process.User

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read User Scope

Allows the app to process and evaluate content for data security, governance and compliance outcomes for a user.

Permission data: April 6, 2026 at 4:06 AM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Process content for data security, governance and compliance

Allows the app to process and evaluate content for data security, governance and compliance outcomes for a user.

Delegated Permission Admin consent required

Process content for data security, governance and compliance

Allows the app to process and evaluate content for data security, governance and compliance outcomes for a user.

Properties

Microsoft Graph v1.0 endpoint-derived-docs

Properties is shown from stable Microsoft Graph v1.0 metadata.

Property Type Description
id String The unique ID of the data security and governance stream. Inherited from entity.
sensitivityLabels sensitivityLabel collection

JSON Representation

Microsoft Graph v1.0 endpoint-derived-docs

JSON representation is shown from stable Microsoft Graph v1.0 metadata.

JSON representation
{
  "@odata.type": "#microsoft.graph.dataSecurityAndGovernance",
  "id": "String (identifier)"
}

Relationships

Microsoft Graph v1.0 schema-derived

Relationships is shown from stable Microsoft Graph v1.0 metadata.

Relationship Type Description
sensitivityLabels sensitivityLabel collection Related sensitivityLabels data exposed by this resource.

Graph Methods

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
POST /me/dataSecurityAndGovernance/processContent
POST /users/{userId}/dataSecurityAndGovernance/processContent
Exact Microsoft Learn match

Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
POST /me/dataSecurityAndGovernance/processContent
POST /users/{userId}/dataSecurityAndGovernance/processContent
No Microsoft Learn PowerShell mapping available

Microsoft Graph PowerShell v1.0 commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.

No deterministic PowerShell command map is available for this permission.

Browse PowerShell docs
No Microsoft Learn PowerShell mapping available

Microsoft Graph PowerShell beta commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.

No deterministic PowerShell command map is available for this permission.

Browse PowerShell docs

Code Examples

C# / .NET SDK
userDataSecurityAndGovernance: processContent
// Code snippets are only available for the latest version. Current version is 5.x

// Dependencies
using Microsoft.Graph.Me.DataSecurityAndGovernance.ProcessContent;
using Microsoft.Graph.Models;

var requestBody = new ProcessContentPostRequestBody
{
	ContentToProcess = new ProcessContentRequest
	{
		ContentEntries = new List<ProcessContentMetadataBase>
		{
			new ProcessConversationMetadata
			{
				OdataType = "microsoft.graph.processConversationMetadata",
				Identifier = "07785517-9081-4fe7-a9dc-85bcdf5e9075",
				Content = new TextContent
				{
					OdataType = "microsoft.graph.textContent",
					Data = "Write an acceptance letter for Alex Wilber with Credit card number 4532667785213500, ssn: 120-98-1437 at One Microsoft Way, Redmond, WA 98052",
				},
				Name = "PC Purview API Explorer message",
				CorrelationId = "d63eafd2-e3a9-4c1a-b726-a2e9b9d9580d",
				SequenceNumber = 0L,
				IsTruncated = false,
				CreatedDateTime = DateTimeOffset.Parse("2025-05-27T17:23:20"),
				ModifiedDateTime = DateTimeOffset.Parse("2025-05-27T17:23:20"),
			},
		},
		ActivityMetadata = new ActivityMetadata
		{
			Activity = UserActivityType.UploadText,
		},
		DeviceMetadata = new DeviceMetadata
		{
			DeviceType = "Unmanaged",
			OperatingSystemSpecifications = new OperatingSystemSpecifications
			{
				OperatingSystemPlatform = "Windows 11",
				OperatingSystemVersion = "10.0.26100.0",
			},
			IpAddress = "127.0.0.1",
		},
		ProtectedAppMetadata = new ProtectedApplicationMetadata
		{
			Name = "PC Purview API Explorer",
			Version = "0.2",
			ApplicationLocation = new PolicyLocationApplication
			{
				OdataType = "microsoft.graph.policyLocationApplication",
				Value = "83ef208a-0396-4893-9d4f-d36efbffc8bd",
			},
		},
		IntegratedAppMetadata = new IntegratedApplicationMetadata
		{
			Name = "PC Purview API Explorer",
			Version = "0.2",
		},
	},
};

// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Me.DataSecurityAndGovernance.ProcessContent.PostAsync(requestBody, (requestConfiguration) =>
{
	requestConfiguration.Headers.Add("Client-Request-Id", "50dc805c-3af4-42d9-ad16-a746235cc736");
});
JavaScript
userDataSecurityAndGovernance: processContent
const options = {
	authProvider,
};

const client = Client.init(options);

const processContentResponse = {
    contentToProcess: {
       contentEntries: [
          {
             '@odata.type': 'microsoft.graph.processConversationMetadata',
             identifier: '07785517-9081-4fe7-a9dc-85bcdf5e9075',
             content: {
                '@odata.type': 'microsoft.graph.textContent', 
                data: 'Write an acceptance letter for Alex Wilber with Credit card number 4532667785213500, ssn: 120-98-1437 at One Microsoft Way, Redmond, WA 98052'
             },
             name: 'PC Purview API Explorer message',
             correlationId: 'd63eafd2-e3a9-4c1a-b726-a2e9b9d9580d',
             sequenceNumber: 0, 
             isTruncated: false,
             createdDateTime: '2025-05-27T17:23:20',
             modifiedDateTime: '2025-05-27T17:23:20'
          }
       ],
       activityMetadata: { 
          activity: 'uploadText'
       },
       deviceMetadata: {
          deviceType: 'Unmanaged',
          operatingSystemSpecifications: {
             operatingSystemPlatform: 'Windows 11',
             operatingSystemVersion: '10.0.26100.0' 
          },
          ipAddress: '127.0.0.1'
       },
       protectedAppMetadata: {
          name: 'PC Purview API Explorer',
          version: '0.2',
          applicationLocation: {
             '@odata.type': 'microsoft.graph.policyLocationApplication',
             value: '83ef208a-0396-4893-9d4f-d36efbffc8bd'
          }
       },
       integratedAppMetadata: {
          name: 'PC Purview API Explorer',
          version: '0.2' 
       }
    }
};

await client.api('/me/dataSecurityAndGovernance/processContent')
	.post(processContentResponse);
PowerShell
Connect-MgGraph -Scopes "Content.Process.User"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/me/dataSecurityAndGovernance/processContent"
Python
userDataSecurityAndGovernance: processContent
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.users.item.data_security_and_governance.process_content.process_content_request_builder import ProcessContentRequestBuilder
from kiota_abstractions.base_request_configuration import RequestConfiguration
from msgraph.generated.users.item.datasecurityandgovernance.process_content.process_content_post_request_body import ProcessContentPostRequestBody
from msgraph.generated.models.process_content_request import ProcessContentRequest
from msgraph.generated.models.process_content_metadata_base import ProcessContentMetadataBase
from msgraph.generated.models.process_conversation_metadata import ProcessConversationMetadata
from msgraph.generated.models.text_content import TextContent
from msgraph.generated.models.activity_metadata import ActivityMetadata
from msgraph.generated.models.user_activity_type import UserActivityType
from msgraph.generated.models.device_metadata import DeviceMetadata
from msgraph.generated.models.operating_system_specifications import OperatingSystemSpecifications
from msgraph.generated.models.protected_application_metadata import ProtectedApplicationMetadata
from msgraph.generated.models.policy_location_application import PolicyLocationApplication
from msgraph.generated.models.integrated_application_metadata import IntegratedApplicationMetadata
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = ProcessContentPostRequestBody(
	content_to_process = ProcessContentRequest(
		content_entries = [
			ProcessConversationMetadata(
				odata_type = "microsoft.graph.processConversationMetadata",
				identifier = "07785517-9081-4fe7-a9dc-85bcdf5e9075",
				content = TextContent(
					odata_type = "microsoft.graph.textContent",
					data = "Write an acceptance letter for Alex Wilber with Credit card number 4532667785213500, ssn: 120-98-1437 at One Microsoft Way, Redmond, WA 98052",
				),
				name = "PC Purview API Explorer message",
				correlation_id = "d63eafd2-e3a9-4c1a-b726-a2e9b9d9580d",
				sequence_number = 0,
				is_truncated = False,
				created_date_time = "2025-05-27T17:23:20",
				modified_date_time = "2025-05-27T17:23:20",
			),
		],
		activity_metadata = ActivityMetadata(
			activity = UserActivityType.UploadText,
		),
		device_metadata = DeviceMetadata(
			device_type = "Unmanaged",
			operating_system_specifications = OperatingSystemSpecifications(
				operating_system_platform = "Windows 11",
				operating_system_version = "10.0.26100.0",
			),
			ip_address = "127.0.0.1",
		),
		protected_app_metadata = ProtectedApplicationMetadata(
			name = "PC Purview API Explorer",
			version = "0.2",
			application_location = PolicyLocationApplication(
				odata_type = "microsoft.graph.policyLocationApplication",
				value = "83ef208a-0396-4893-9d4f-d36efbffc8bd",
			),
		),
		integrated_app_metadata = IntegratedApplicationMetadata(
			name = "PC Purview API Explorer",
			version = "0.2",
		),
	),
)

request_configuration = RequestConfiguration()
request_configuration.headers.add("Client-Request-Id", "50dc805c-3af4-42d9-ad16-a746235cc736")

result = await graph_client.me.data_security_and_governance.process_content.post(request_body, request_configuration = request_configuration)

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or delegated permissions and search for Content.Process.User

4

Grant Admin Consent

Application permissions always require admin consent.