Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Original KB number: 4054858
Summary
This article describes how to view and update address list membership for objects in Microsoft Exchange Online.
More information
To see whom the filter applies to, run the following command:
$a = get-addresslist "my list" Get-recipient -filter $a.recipientfilter
To see which users are stamped by the address list that you created, run the following command:
Get-Recipient -Filter {AddressListMembership -eq 'DistinguishedName of the address list'}
For each object that you see in step 1 but don't see in step 2, you have to tickle the object. To do this, use one of the following options directly in an instance of Windows PowerShell that's connected to Exchange Online.
Option 1: If the object is a mailbox, run the following commands:
set-mailbox -applymandatoryproperties
set-Mailbox -SimpleDisplayName
Option 2: Run the following command:
Set-MailUser -SimpleDisplayName
Option 3: Set any relevant attributes, including custom attributes, on-premises. Then, synchronize the changes to Exchange Online through Microsoft Entra Connect.
After you tickle the objects, you should see them by running the command from step 2. You can also verify the objects individually by running the following commands:
Get-Mailbox -identity user@contoso.com|fl Addresslistmembership
Get-Mailuser -identity user@contoso.com|fl Addresslistmembership