Entry is missing in the Global Address List

Missing Entry in the Global Address List

Hello Folks! After a mailbox or a distribution group has been created it can happen that the appropriate entry is missing in the Global Address List.

Assuming the HiddenFromAddressListsEnabled attribute is set to $False on the mailbox or distribution group.

When an entry is missing in the Global Address List it is not necessarily needed but good to know if we can find the object in the GAL on the server.

If an entry is missing in the Global Address List you can query the GAL on the server:

## Add Exchange Server SnapIn to PS ##
Add-PSSnapin *exch*

## Get name of GAL ##
Get-GlobalAddressList

## Prepare data source ##
$customer = “NameOfGAL – GAL”
$members=Get-GlobalAddressList $customer

## Query for a certain object using a part of its name [ we use -like here ] ##
Get-Recipient -RecipientPreviewFilter $members.RecipientFilter -ResultSize unlimited | where {$_.Name -like “*PartOfObjectName*”} | fl

Independently from the outcome of the above PowerShell commands I usually update the Offline Address Book and the Global Address List afterward.

I have put in the option to query the Global Address List for the missing entry because I usually do it.

Ok here we go > Update the Offline Address Book:

Get-OfflineAddressBook
Get-OfflineAddressBook -Identity “NameOfOAB” | Update-OfflineAddressBook

Now update the Global Address List:

Get-GlobalAddressList
Get-GlobalAddressList -Identity “NameOfGAL” | Update-GlobalAddressList

In most cases, this solves it.
 
I usually wait 15 Minutes [ one AD sync cycle ] before notifying the customer.
The user should download the Address Book afterward or restart Outlook.
In OWA new entries should be visible straight away.
 

If the problem persists check the showInAddressBook attribute on the object in AD:

Entry is missing in the Global Address List

Compare the values of the attribute showInAddressBook with an account or DL that is available in the Global Address List and add them accordingly if one or more entries are missing.

If appropriate entries are missing here you wouldn’t get a result when querying the GAL for the missing entry at the beginning of this post. Further it is likely that HiddenFromAddressListsEnabled is set to $true.

When HiddenFromAddressListsEnabled is set to $true:

> Set it to $false and reload the attribute in AD.

Find some examples at the end of this Microsoft description.
 
If all entries are visible in showInAddressBook you should be fine.
Otherwise add the missing entries under showInAddressBook.

> Update OAB and GAL again.

 
Have a nice day!
 
 
Want to activate an Out of Office message while retaining the formating?

Out Of Office Multiline Message through PowerShell

 

Leave a Reply

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