ChannelMessage.UpdatePolicyViolation.All

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

Permission details

Versionv220 Sept 2026
PropertyApplication
Display nameFlag channel messages for violating policy
DescriptionAllows the app to update Microsoft Teams channel messages by patching a set of Data Loss Prevention (DLP) policy violation properties to handle the output of DLP processing.
Permission ID4d02b0cc-d90b-441f-8d82-4fb55c34d6bb
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

4 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
    /teams/{id}/channels/{id}/messages/{id}
    PowerShellUpdate-MgTeamChannelMessageTeamsLeast privilege
  • PATCH
    /teams/{id}/channels/{id}/messages/{id}/replies/{id}
    PowerShellUpdate-MgTeamChannelMessageReplyTeamsLeast privilege
  • PATCH
    /teams/(team-id)/channels/{id}/messages/{id}No matching Microsoft Graph PowerShell command
  • PATCH
    /teams/(team-id)/channels/{id}/messages/{id}/replies/{id}No matching Microsoft Graph PowerShell command