| title | chatMessagePolicyViolation resource type |
|---|---|
| description | Represents policy violation on a chat message. Policy violations are typically set by a data loss prevention (DLP) application. |
| author | RamjotSingh |
| doc_type | resourcePageType |
| ms.localizationpriority | medium |
| ms.subservice | teams |
| ms.date | 04/03/2024 |
Represents a policy violation on a chat message. Policy violations are typically set by a data loss prevention (DLP) application. DLP applications monitor chats for messages that contain data that users aren't supposed to send.
| Property | Type | Description |
|---|---|---|
| dlpAction | chatMessagePolicyViolationDlpActionType | The action taken by the DLP provider on the message with sensitive content. Supported values are: |
| justificationText | string | Justification text provided by the sender of the message when overriding a policy violation. |
| policyTip | chatMessagePolicyViolationPolicyTip | Information to display to the message sender about why the message was flagged as a violation. |
| userAction | chatMessagePolicyViolationUserActionType | Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: |
| verdictDetails | chatMessagePolicyViolationVerdictDetailsType | Indicates what actions the sender may take in response to the policy violation. Supported values are: |
The following JSON representation shows the resource type.
{
"dlpAction": "string",
"justificationText": "string",
"policyTip": {"@odata.type": "microsoft.graph.chatMessagePolicyViolationPolicyTip"},
"userAction": "string",
"verdictDetails": "string"
}