en-US

ExchangeSenderException

Parameter of AutoSensitivityLabelPolicy

Applies to : Security & Compliance

Description

The ExchangeSenderException parameter specifies the internal users whose email is excluded from the policy. You identify the users by email address.

To enter multiple values, use the following syntax: <value1>,<value2>,...<valueX>. If the values contain spaces or otherwise require quotation marks, use the following syntax: "<value1>","<value2>",..."<valueX>".

To use this parameter, one of the following statements must be true:

  • The policy already includes email messages (in the output of Get-AutoSensitivityLabelPolicy, the ExchangeLocation property value is All).
  • Use -AddExchangeLocation All in the same command with this parameter.

You can't use this parameter with the ExchangeSender or ExchangeSenderMemberOf parameters.

Microsoft Learn documentation

Characteristics

Type
SmtpAddress[]
Parameter sets
Identity

Apply

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