Chat.UpdatePolicyViolation.All

Chat.UpdatePolicyViolation.All is available as an application permission only in Microsoft Graph. Application access requires admin consent. See Microsoft's permissions reference.

Permission details

Versionv315 Nov 2026
PropertyApplication
Display nameFlag chat messages for violating policy
DescriptionAllows the app to update Microsoft Teams 1-to-1 or group chat messages by patching a set of Data Loss Prevention (DLP) policy violation properties to handle the output of DLP processing.
Permission ID7e847308-e030-4183-9899-5235d7270f58
Admin consent requiredYes
Privilege levelLevel 3 · HighBroad or sensitive access that can significantly affect users or organizational data.

Roles that support this permission

0 roles

No Microsoft Entra roles are mapped to this permission.

Request samples

2 samples
About these request samplesSome read operations use POST requests, such as searches that send query details in a request body. Samples and permission mappings are collated from multiple official Microsoft sources, including Microsoft Graph DevX and the PowerShell SDK. Differences between API versions and source metadata mean they may not always reflect actual endpoint behavior. Verify the current Microsoft Graph documentation before implementation.

application

  • PATCH
    /chats/{id}/messages/{id}
    PowerShellUpdate-MgChatMessageTeamsLeast privilege
  • PATCH
    /chats/{id}/messages/{id}/replies/{id}
    PowerShellUpdate-MgChatMessageReplyTeams