Permission & Access Issues

Hide Former Employees from the Microsoft 365 Global Address List

Huma Ashraf ChHuma Ashraf Ch Nov 14, 2026 868 views

Question details

Hide former employees from the Global Address List when their Exchange Online mailboxes are managed through a hybrid directory.

Hide Former Employees from the Microsoft 365 Global Address List
Product
Microsoft 365 Exchange Online and hybrid Exchange
Device & OS
not provided
Scenario
An administrator needs to hide former employees' synchronized mailboxes from the organization’s Global Address List.
Observed behavior
Some accounts remain visible even after the on-premises hide attribute is set, and affected users are not found in the synchronization connector space.
Before you start

Confirm that the affected mailbox is synchronized from on-premises Active Directory and identify its corresponding on-premises user object. You will need appropriate Exchange, Active Directory, and Microsoft Entra Connect permissions to check and change its settings.

Solution 1Recommended

Set the hide attribute on the on-premises user object

Use the on-premises directory as the source of the address-list visibility setting for a synchronized mailbox.

1
Open the user object

In Active Directory Users and Computers, select View > Advanced Features. Find the former employee’s user object, open Properties, and select the Attribute Editor tab.

2
Set the visibility attribute

Find msExchHideFromAddressLists, select Edit, set it to TRUE, and apply the change.

3
Check the mail alias

In Attribute Editor, check that mailNickname contains the account’s correct mail alias. If it is empty, populate it with the appropriate unique alias according to your organization’s Exchange provisioning rules.

4
Synchronize and verify

Allow the next Microsoft Entra Connect synchronization cycle to run. Then connect to Exchange Online PowerShell and run: Get-Mailbox -Identity user@domain.com | Format-List HiddenFromAddressListsEnabled. Replace the example address with the affected mailbox address; the expected value is True.

Set the hide attribute on the on-premises user object
Allow time for address lists to update: A True mailbox setting confirms that the mailbox is hidden, but cached offline address books may take additional time to reflect the change.
Free Microsoft Office alternative

Work with Office files in WPS Office

WPS Office is a free, lightweight alternative for working with Office documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easy to bring existing files into your workflow. Exchange address-list visibility must still be managed in Microsoft 365 and your on-premises directory.

Document mailbox offboarding procedures and directory checks in WPS WriterOpen and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface to move existing Office file workflows to WPSWork with documents in a lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why is a former employee still visible after I set the hide attribute?

The change may not have synchronized, mailNickname may be missing, or an offline address book may still be cached. Check the on-premises attributes, inspect Microsoft Entra Connect synchronization, and verify HiddenFromAddressListsEnabled in Exchange Online PowerShell.

How do I check whether Exchange Online has received the hidden setting?

Connect to Exchange Online PowerShell and run Get-Mailbox -Identity user@domain.com | Format-List HiddenFromAddressListsEnabled, replacing the example address with the mailbox address. A value of True means the mailbox is hidden from address lists.

What should I check if the user is missing from the connector space?

In Microsoft Entra Connect, review domain, organizational unit, and other synchronization filters. Then search the on-premises Active Directory connector in Synchronization Service Manager and investigate why the user object is outside the synchronization scope.

Can I remove the former employee’s license after hiding the mailbox?

Hiding a mailbox does not determine its licensing or retention requirements. If your organization needs a shared mailbox, convert it before removing a license, and confirm whether its size, archive, or hold requirements require licensing.