en-US

ExchangeSender

Parameter of AutoSensitivityLabelPolicy

Applies to : Security & Compliance

Description

The ExchangeSender parameter specifies the users whose email is included in the policy. You specify the users by email address. You can specify internal or external email addresses.

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 the Get-AutoSensitivityLabelPolicy cmdlet, the ExchangeLocation property value is All).
  • Use -AddExchangeLocation All in the same command with this parameter.

You can't use this parameter with the ExchangeSenderException or ExchangeSenderMemberOfException 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.