en-US

RemoveExchangeLocation

Parameter of AutoSensitivityLabelPolicy

Applies to : Security & Compliance

Description

The RemoveExchangeLocation parameter removes email messages from the policy if they're already included. The valid value for this parameter is All.

If the policy already includes email messages (in the output of the Get-AutoSensitivityLabelPolicy cmdlet, the ExchangeLocation property value is All), you can use -RemoveExchangeLocation All to prevent the policy from applying to email messages.

You can't use this parameter if email (the value Exchange) is used by any of the associated rules.

Microsoft Learn documentation

Characteristics

Type
MultiValuedProperty
Parameter sets
Identity

Apply

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