Motivation: Making the Systems Engineers life easier.

Microsoft Exchange Server Address Lists – Multi-Tenant Environment

Microsoft Exchange

Microsoft Exchange Server Address Lists – Multi-Tenant Environment

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:
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

Comments (2)

  1. Ron Mitchell

    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?

    August 24, 2023 at 6:30 pm
    1. Amir Moiz Gulamaliwala

      Hello Ron! Sorry for my late response.
      Did your issue got resolved? If not, share the syntax of the entire command that your are running. Thanks

      September 7, 2023 at 5:03 pm

Leave your thought here

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.