en-US

Mode

Parameter of DlpPolicy

Applies to : Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online

Description

The Mode parameter specifies the action and notification level of the DLP policy. Valid values for this parameter are:

  • Audit: When a message matches the conditions specified by the DLP policy, the actions specified by the policy aren't enforced and no notification emails are sent.
  • AuditAndNotify: When a message matches the conditions specified by the DLP policy, the actions specified by the policy aren't enforced, but notification emails are sent.
  • Enforce: When a message matches the conditions specified by the DLP policy, the actions specified by the policy are enforced and notification emails are sent.

If the State parameter is set to Disabled, the value of the Mode parameter is irrelevant.

Microsoft Learn documentation

Characteristics

Type
RuleMode
Parameter sets
(All)

Apply

This value type (RuleMode) must be built by hand: see the examples on the policy page and the Microsoft documentation.