Contact Problems

Create Separate Global Address Lists for Domains in Exchange Online

Anum MushtaqAnum Mushtaq Nov 20, 2026 869 views

Question details

Create separate global address lists for users in different domains and assign each group the appropriate address book policy.

Create Separate Global Address Lists for Multiple Domains in Exchange Online
Product
Microsoft Exchange Online
Device & OS
not provided
Scenario
An organization with multiple domains wants users to see the intended set of recipients in their address book.
Observed behavior
Users in each domain should see the global address list and other address lists assigned through their address book policy.
Before you start

Install the Exchange Online PowerShell module and confirm that your administrator account has the required Exchange permissions, including the Address Lists role. Choose a consistent recipient attribute and value for each domain; the example below uses CustomAttribute1 with the value DomainA.

Solution 1Recommended

Create and assign an address book policy for each domain

Use Exchange Online PowerShell to create a filtered global address list and the other address lists required by an address book policy.

Repeat the example for each domain using unique names and a different attribute value. Apply the attribute to every recipient that should appear in the domain's lists, including relevant contacts, groups, and room mailboxes.

Address book policies control address book views; they are not a security boundary and do not prevent users from communicating with recipients they already know.

1
Connect to Exchange Online

Open PowerShell and run Connect-ExchangeOnline, then sign in with an appropriately authorized Exchange administrator account.

2
Tag the intended recipients

For each applicable mailbox, run Set-Mailbox -Identity user@domaina.com -CustomAttribute1 'DomainA'. Use the appropriate Set cmdlet for other recipient types, such as Set-MailContact or Set-DistributionGroup, and tag any room mailboxes that should appear.

3
Create the address lists

Run New-GlobalAddressList -Name 'DomainA GAL' -RecipientFilter "CustomAttribute1 -eq 'DomainA'". Then run New-AddressList -Name 'DomainA Recipients' -RecipientFilter "CustomAttribute1 -eq 'DomainA'" and New-AddressList -Name 'DomainA Rooms' -RecipientFilter "(RecipientTypeDetails -eq 'RoomMailbox') -and (CustomAttribute1 -eq 'DomainA')".

4
Create the offline address book and policy

Run New-OfflineAddressBook -Name 'DomainA OAB' -AddressLists '\DomainA GAL'. Then run New-AddressBookPolicy -Name 'DomainA ABP' -AddressLists '\DomainA Recipients' -GlobalAddressList '\DomainA GAL' -OfflineAddressBook '\DomainA OAB' -RoomList '\DomainA Rooms'.

5
Assign and test the policy

Run Set-Mailbox -Identity user@domaina.com -AddressBookPolicy 'DomainA ABP' for each applicable mailbox. Check the assignment with Get-Mailbox -Identity user@domaina.com | Format-List AddressBookPolicy, then sign in to Outlook with representative accounts and inspect their address books.

Create and assign an address book policy for each domain
Allow time for updates: Address list and offline address book changes may take time to appear in Outlook. If a cached Outlook client still shows old results, update its offline address book and test again.
Free Microsoft Office alternative

Work with Office Documents in WPS Office

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make it easy to move existing files into your workflow. Exchange Online address book policies still require Microsoft administration tools.

Keep domain and recipient planning lists in spreadsheets.Open and edit Microsoft Office formats, including DOCX, XLSX, and PPTX.Use a familiar interface for documents, spreadsheets, and presentations.Move existing Office files into a lightweight suite with a free version.
microsoft office alternative - wps office

Frequently Asked Questions

Can I create a global address list for each domain?

Yes. In Exchange Online PowerShell, use New-GlobalAddressList with a unique name and a recipient filter for each group. Assign an address book policy containing the intended GAL to each user's mailbox.

Does an email domain automatically determine which address list a user sees?

No. The example uses CustomAttribute1 to identify recipients, and each mailbox must be assigned the appropriate policy with Set-Mailbox -AddressBookPolicy.

What components does an address book policy need?

An address book policy requires a global address list, an offline address book, a room address list, and at least one address list. Specify these when you run New-AddressBookPolicy.

Why does Outlook still show the old address list?

Changes can take time to reach clients, especially when Outlook uses a cached offline address book. Confirm the mailbox policy with Get-Mailbox, allow time for updates, and update the offline address book in Outlook.

Do address book policies prevent users in different domains from emailing each other?

No. Address book policies change what users see in address books, but they are not a security boundary and do not by themselves block email between recipients.