en-US

RemoveExchangeLocationException

Parameter of AppRetentionCompliancePolicy

Applies to : Security & Compliance

Description

The RemoveExchangeLocationException parameter specifies the mailboxes to remove from the list of excluded mailboxes when you use the value All for the ExchangeLocation parameter. Valid values are:

  • A mailbox
  • A distribution group or mail-enabled security group

To specify a mailbox or distribution group, you can use any value that uniquely identifies it. For example:

  • Name
  • Distinguished name (DN)
  • Email address
  • GUID

You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: "Value1","Value2",..."ValueN".

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.