AddExchangeLocation
Parameter of CaseHoldPolicy
Applies to : Security & Compliance
Description
The AddExchangeLocation parameter specifies the mailboxes to add to the list of included mailboxes. Valid values are:
- A mailbox
- A distribution group or mail-enabled security group (all mailboxes that are currently members of the group).
To specify a mailbox or distribution group, you can use the following values:
- 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.