RemoveExchangeLocation
Parameter of CaseHoldPolicy
Applies to : Security & Compliance
Description
The RemoveExchangeLocation parameter specifies the existing mailboxes to remove from the policy. 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
- SMTP address. To specify an inactive mailbox, precede the address with a period (.).
- Microsoft Entra ObjectId. Use the Get-MgUser or Get-MgGroup cmdlets in Microsoft Graph PowerShell to find this value.
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".
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.