en-US

ExchangeSenderMemberOfException

Parameter of AutoSensitivityLabelPolicy

Applies to : Security & Compliance

Description

The ExchangeSenderMemberOfException parameter specifies the distribution groups or mail-enabled security groups to exclude from the policy (email of the group members is excluded from the policy). You identify the groups 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.

You can't use this parameter to specify Microsoft 365 Groups.

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.