Microsoft Exchange Server Address Lists – Multi-Tenant Environment

Microsoft Exchange

Applies to Exchange Server 2013/2016 – Amir Moiz Gulamaliwala

In an Exchange Multi-Tenant environment, it is mandatory for the Systems Consultants to maintain a separate Exchange Address Lists for every domain hosted within the Exchange Server.

There are many free open source tools available online and paid one as well where you can install and integrate them with you Exchange environment and start using it, but in this article I will explain how to create Exchange Address Lists using PowerShell.

Root Domain – cloud.local

Customer or Entity Domain Name: company.com
Already added in my Exchange Admin Center under Accepted Domains

OU Name: Company
This OU Name can be for an Entity or a Customer hosted in the Exchange Environment.

Note: Considering that all the users are already created in Active Directory.

Open Exchange PowerShell Always Run As Administrator

Run the following scripts one by one.

Global Address List

New-GlobalAddressList -Name “Company-GAL” -ConditionalCustomAttribute1 “Company” -IncludedRecipients MailboxUsers -RecipientContainer “cloud.local/Company”

 Address List for All Users

New-AddressList -Name “Company–All Users” -RecipientFilter “(CustomAttribute1 -eq ‘Company’) -and (ObjectClass -eq ‘User’)” -RecipientContainer “cloud.local/Company”

 Address List for All Contacts

New-AddressList -Name “Company–All Contacts” -RecipientFilter “(CustomAttribute1 -eq ‘Company’) -and (ObjectClass -eq ‘Contact’)” -RecipientContainer “cloud.local/Company”

 Address List for All Groups

New-AddressList -Name “Company–All Groups” -RecipientFilter “(CustomAttribute1 -eq ‘Company’) -and (ObjectClass -eq ‘Group’)” -RecipientContainer “cloud.local/Company”

Offline Address Book

New-OfflineAddressBook -Name “Company” -AddressLists “Company–GAL”

 Address Book Policy

New-AddressBookPolicy -Name “Company” -AddressLists “Company–All Users”, “Company–All Contacts”, “Company–All Groups” -GlobalAddressList “Company–GAL” -OfflineAddressBook “Company”

All these scripts are tested in Lab and Applied in the Production Environment.

Can be download from the below link
https://ammar.cloud/wp-content/uploads/2019/01/Microsoft-Exchange-Server-Address-Lists.pdf

2 thoughts on “Microsoft Exchange Server Address Lists – Multi-Tenant Environment

  1. I’m trying to implement your scripts on Exchange 2019 — almost works down to creating the AddressBookPolicy — I get “Supply values for the following Parameters: RoomList” — I did I miss something?
    Ron

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.