• Home
  • Topics
    • Office 365
    • Teams
    • SharePoint Online
    • Exchange 2019
    • Exchange 2016
    • Exchange 2013
    • Hybrid
    • Certificates
    • PowerShell
    • Migration
    • Security
    • Azure
  • Blog
  • Podcast
  • Webinars
  • Books
  • About
  • Videos
    • Interview Videos
    • How To Guide Videos
  • Subscribe
    • Facebook
    • Twitter
    • RSS
    • YouTube

Practical 365

You are here: Home / Exchange Server / Configuring a Hierarchical Address Book in Exchange Server

Configuring a Hierarchical Address Book in Exchange Server

July 26, 2016 by Paul Cunningham 10 Comments

In an Exchange Server organization the address book that users see in Outlook is basically just a flat, alphabetical list of names. There’s no easy way to look at the address book and work out the structure of the organization, or to tell who the most senior people are within a group. It’s easy to think that “ranking” within an organization is an ego thing, the reality is that it’s important in many situations to be able to quickly identify organizational structure and know who reports to who.

address-book-01

Exchange supports the need for visibility of an organizational structure with a feature called the hierarchical address book (HAB). Let’s take a look at a simple example of how to implement hierarchical address books in an Exchange organization, using the following org structure.

hab-org-chart

The hierarchical address book is made up of a series of distribution groups that are nested in a way that matches the org structure. The distribution groups can be located anywhere you like in Active Directory, but it’s useful to place them into a dedicated OU so that there’s no confusion about their purpose. For this example I’m using an OU called “Hierarchical Address Book”.

hierarchical-address-book-01

Create the first distribution group that will be used as the root of the hierarchy.

1
2
3
4
5
[PS] C:\>New-DistributionGroup "Exchange Server Pro" -OrganizationalUnit "Hierarchical Address Book"
 
Name                          DisplayName                   GroupType                     PrimarySmtpAddress
----                          -----------                   ---------                     ------------------
Exchange Server Pro           Exchange Server Pro           Universal                     ExchangeServerPro@exchange...


Configure the group to be used as a hierarchical group by running the Set-Group cmdlet.

1
[PS] C:\>Set-Group "Exchange Server Pro" -IsHierarchicalGroup $true


Then enable the Exchange organization to use the group as the root of the hierarchy.

1
[PS] C:\>Set-OrganizationConfig -HierarchicalAddressBookRoot "Exchange Server Pro"


The changes will appear in Outlook after the offline address book has updated and been downloaded by Outlook, so don’t expect to see the results immediately. In fact, if you don’t want to display an incomplete hierarchy to your users, just wait until you’ve set up all of the groups first before you enable the hierarchical address book. If you do enable it now, when everything has been updated a new “Organization” tab will appear in the address book in Outlook.

address-book-02

With the root of the hierarchical address book working, the next steps are to create the rest of the groups that represent the org structure, and nest them accordingly. By placing all the groups in the same OU as the first one, a single PowerShell command can be run to configure them all as hierarchical groups.

1
[PS] C:\>Get-Group -OrganizationalUnit "Hierarchical Address Book" | Where {!($_.IsHierarchicalGroup)} | Set-Group -IsHierarchicalGroup $true


After the address book has had time to update, the new hierarchy is visible for Outlook users.

address-book-03

For some organizations, the default ordering of the groups in the hierarchical address book will not be suitable. In the example shown above, the organization would prefer that the Executive group appeared at the top of the list, instead of the bottom. This can be achieved by setting the seniority index on the groups. By default there is no seniority index configured on groups, but you can configure a value of up to 100, with 100 being the most senior.

1
2
3
[PS] C:\>Set-Group "Executive" -SeniorityIndex 100
 
[PS] C:\>Set-Group "Sales and Marketing" -SeniorityIndex 50


address-book-05

Seniority can also be configured within a group, for example if you would like the manager of a team to appear at the top of the list instead of the group members being sorted in alphabetical order.

address-book-04

1
[PS] C:\>Set-User adam.wally -SeniorityIndex 100


address-book-06

Managing the hierarchical address book is an ongoing process, not a simple one-time setup. This is particularly true of larger organizations that have a higher rate of change in the organizational structure as departments are reshuffled, people change roles, or people leave the company entirely. Maintaining the hierarchical address book needs to be baked into your workflow, for example when a person becomes the manager of a team you can update the configuration of their seniority index.

There are also some group policy controls for the hierarchical address book. One in particular should be considered – the disabling of department selection. Because of the nesting of distribution groups to form the hierarchical address book, a person who sends an email to a top-level group might not realize they are sending an email to every child group as well. You can block that behavior by enabling the “Turn off the Hierarchical Address Book department selection” in the Outlook 2016 group policy administrative template (found under Account Settings/Exchange). However, if you do need department selection to remain enabled, consider putting in place some restrictions on who can send to larger distribution groups in your organization.

Exchange Server Address Book, Exchange 2013, Exchange 2016, Hierarchical Address Book

Comments

  1. Md. Rubiat Haque says

    March 3, 2022 at 8:07 am

    Hello, I have faced a problem. When I created new distribution group, it takes too long to update in address book. How to fix it?

    Reply
  2. Vladimir says

    January 11, 2018 at 8:35 pm

    Hey Paul,

    I’ve been reading your posts and find it extremely useful. Even more than Technet articles since you really focus on the problem. I have a situation where I have already created HAB and nested all groups. It works fine but since now I have very complex structure I have been wondering if there is a way to export whole structure to csv format and modify seniority index . The problem is, it’s not sorted by name nor seniority index.

    Thanks for your time and suggestion!

    Reply
  3. sameer says

    August 11, 2017 at 3:05 pm

    If I move groups to different OUs after the address book is published, will it affect HAL?

    Reply
    • sameermpm says

      August 11, 2017 at 9:14 pm

      Sorry to reply to me by myself. I tested and nothing happened to HAL.

      Reply
  4. Robert says

    April 9, 2017 at 10:59 am

    That’s what I need clarified, how come the groups are NOT “direct members” in aduc of the exchange server pro group?

    Reply
  5. Robert says

    April 9, 2017 at 10:58 am

    That’s my confusion, how come the groups are NOT “direct members” in aduc of the exchange server pro group?

    Reply
  6. Robert says

    April 9, 2017 at 6:30 am

    What I am trying to say is this:

    1) In your exchange server pro example – you have
    Exchange Server Pro
    -Executive
    -Sales and Marketing
    -Corporate Services

    When looking under ADUC I would have expected to see (Parent Group: Exchange Server Pro, Member Executive, Member Sales and Marketing, Member Corporate Services.

    That’s my confusion, how come the groups are “direct members” in aduc of the exchange server pro group?

    Robert

    Reply
  7. Robert says

    April 9, 2017 at 6:21 am

    Hey Paul,

    Going through your plural sight training videos. HAB creation. I have one question for you. Since Globomantics is the Org’s HAB Root Group, shouldn’t all other groups be a direct member of the Globomantics group?

    Can you explain why or why not that is? from what I can tell all hab groups do not have to be a direct member of globomantics.

    Thanks,

    Robert

    Reply
    • Paul Cunningham says

      April 10, 2017 at 9:07 am

      The groups need to be nested in the same parent/child relationship that matches your hierarchy. If you put all the groups into the HAB root group, all you’ll get is a flat hierarchy.

      Reply
  8. Mahadeer Mohamed says

    November 2, 2016 at 9:39 pm

    Please let me know if Hierarchical Address Book support Outlook Webapp and Active Sync devices.

    Reply

Leave a Reply Cancel reply

You have to agree to the comment policy.

Recent Articles

  • Turn On MFA: Real-World Example of Fraud, Domain Stealing, and the Nearly Lost House Deposit
  • Changes in Microsoft 365 Apps Channels and Why You Should Care
  • A New Tool to Manage Exchange-related Attributes Without Exchange Server
  • Microsoft Launches Group Ownership Governance Policy
  • Making the Case for Identity Governance in Azure Active Directory

Copyright © 2022 Quadrotech Solutions AG · Disclosure · Privacy Policy
Alpenstrasse 15, 6304 Zug, Switzerland