Contact Problems

Fix Hidden Shared Mailboxes Appearing in the Exchange Global Address List

Muhammad TalhaMuhammad Talha Nov 14, 2026 868 views

Question details

Hide synchronized shared mailboxes from the Exchange Global Address List when setting msExchHideFromAddressLists to True has not taken effect.

Fix Hidden Shared Mailboxes Appearing in the Exchange Global Address List
Product
Microsoft Exchange Online and Microsoft Entra Connect
Device & OS
not provided
Scenario
Regular mailboxes were converted to shared mailboxes in a hybrid directory environment and should no longer appear in the Global Address List.
Observed behavior
Some synchronized users remain visible in the Global Address List even though msExchHideFromAddressLists is set to True.
Before you start

Identify the affected on-premises Active Directory accounts and confirm that they are synchronized to Microsoft Entra ID. You will need permission to inspect their attributes and check synchronization and Exchange mailbox settings.

Solution 1Recommended

Check mailNickName and synchronize the affected accounts

Use this approach when a synchronized shared mailbox remains visible despite its on-premises hide attribute being set.

A missing mailNickName value can prevent the hidden status from being applied through directory synchronization. Check each affected account rather than assuming that all shared mailboxes have the same attribute values.

1
Open the account attributes

In Active Directory Users and Computers, select View > Advanced Features. Locate an affected user, open Properties, and select the Attribute Editor tab.

2
Check and populate mailNickName

Find samAccountName and mailNickName in Attribute Editor. If mailNickName is empty, copy the samAccountName value into mailNickName, provided it is a valid, unique Exchange alias, and select OK.

3
Verify the hide attribute

In the same Attribute Editor tab, confirm that msExchHideFromAddressLists is set to True. If the value needs correction, use your organization's supported on-premises Exchange management tools to update the synchronized recipient.

4
Synchronize the directory

Allow the next Microsoft Entra Connect synchronization cycle to run, or on the synchronization server run Start-ADSyncSyncCycle -PolicyType Delta in an appropriately authorized PowerShell session.

5
Verify the Exchange setting

After synchronization completes, connect to Exchange Online PowerShell and run Get-Mailbox -Identity <mailbox> | Format-List HiddenFromAddressListsEnabled. Confirm the value is True, then check the Global Address List again.

Check mailNickName and synchronize the affected accounts
Allow time for address list updates: Outlook may continue to show cached address book information after the mailbox setting changes. Check Outlook on the web as well, and allow time for the offline address book to update.
Free Microsoft Office alternative

Use WPS Office for Everyday Document Work

WPS Office is a free, lightweight alternative with a familiar interface for everyday document, spreadsheet, and presentation work. Its Office format support helps make migration straightforward. It does not manage Exchange address lists or fix directory synchronization.

Free, lightweight tools with a familiar interfaceOpen and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXWork with documents while Exchange administrators troubleshoot address list visibility
microsoft office alternative - wps office

Frequently Asked Questions

Why does a hidden shared mailbox still appear in the Global Address List?

The hide setting may not have reached Exchange Online, or Outlook may be showing cached address book data. Check mailNickName and msExchHideFromAddressLists in Active Directory, then verify HiddenFromAddressListsEnabled in Exchange Online PowerShell.

What should I enter if mailNickName is blank?

In the user's Active Directory Attribute Editor, you can copy samAccountName into an empty mailNickName field if the value is a valid, unique Exchange alias. Synchronize the directory and verify the mailbox setting afterward.

Can I run Update-GlobalAddressList in Exchange Online PowerShell?

No. Update-GlobalAddressList is an Exchange Server command and is not available in Exchange Online PowerShell. For this issue, check the synchronized attributes and the mailbox's HiddenFromAddressListsEnabled value instead.

Why does Outlook still show the mailbox after Exchange reports it as hidden?

Outlook may be using an older offline address book. Check the address list in Outlook on the web and allow time for the offline address book to update.