Exchange Online: Global Address List Segregation

Sometimes people want seperate Address Lists, when you are merging several companies or divisions in one, when you want certain people not to see other person their address list, … Typical example of what I get a lot is different Address Lists for Students, Alumni & Staff members in Higher Education.

A few interesting things to know:

  • the ABP features are only available to customers with Office 365 for Enterprise (‘E’ plans) and Education (‘A’ plans).
  • this feature to allows you to create custom additional Address Lists (ALs), Global Address Lists (GALs), Offline Address Books (OABs), as well as ABPs within your tenant. So even if you don’t use ABPs, you can add additional custom Address Lists to your tenant if you so choose.
  • there is a limit to the number of ABPs and OABs you can create by default. The default for Office 365 for Enterprise customers is to allow 10 GALs, 10 OABs, 10 ABPs and 40 ALs.

Let’s do one for Students

First we create a Resource List for the Students

New-AddressList -name “AL_Students_Resources” -RecipientFilter {(((RecipientDisplayType -eq ‘ConferenceRoomMailbox’) -or (RecipientDisplayType -eq ‘SyncedConferenceRoomMailbox’)) -and (CustomAttribute1 -eq “Student”))} -DisplayName “Student Room List”

Second we create an Address List for the Students

New-AddressList -name “AL_Students” -RecipientFilter {(RecipientType -eq ‘UserMailbox’) -and (CustomAttribute1 -eq “Student”)} –DisplayName “Student Address List”

Third we create an Address List for the Students

New-GlobalAddressList -name “GAL_Students” -RecipientFilter {(CustomAttribute1 -eq “Student”)}

Fourth we create an Offline Address Book for Students

New-OfflineAddressBook -name “OAB_Students” -AddressLists “GAL_Students”

When we’ve created all these list we need an Address Book Policy

New-AddressBookPolicy -name “ABP_Students” -AddressLists “AL_Students” -OfflineAddressBook “\OAB_Students” -GlobalAddressList “\GAL_Students” -RoomList “\AL_Students_Resources”


Assign the ABP to the Students:

Get-Mailbox -resultsize unlimited | where {$_.CustomAttribute1 -eq “Student”} | Set-Mailbox -AddressBookPolicy “ABP_Students”

When you do the final test, you’ll see that mailboxes that have Student as the value of the CustomAttribute1, will only see students.

Leave a Reply