Jul 12 2019 11:20 AM
Jul 13 2019 06:04 AM
@Dirk Schmeckthal what I would do is select "hide from address lists" with everything you don't want to show up in the GAL. You can do this with all mail enabled objects (mailboxes, groups etc.).
Jul 14 2019 10:52 PM
If it's an actual address list you want to create (not hide from the GAL or something), you can use the following query:
{SkuAssigned -eq $true}
If you want to further limit it to just (user) mailboxes:
{SkuAssigned -eq $true -and RecipientTypeDetails -eq "UserMailbox"}
Jul 25 2019 11:46 AM
Jul 25 2019 11:50 AM
Jul 25 2019 11:13 PM
You will have to update the recipient filter on any and all Address lists you need to show just licensed users. Or create new ones/assign them to users. Here's an example with creating a new one:
New-AddressList -Name LicensedMailboxes -RecipientFilter {SkuAssigned -eq $true -and RecipientTypeDetails -eq "UserMailbox"}