Hide Former Employees from the Microsoft 365 Global Address List
Question details
Hide former employees from the Global Address List when their Exchange Online mailboxes are managed through a hybrid directory.

- 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.
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.
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.
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.
Find msExchHideFromAddressLists, select Edit, set it to TRUE, and apply the change.
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.
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.

Troubleshoot users missing from the synchronization connector space
Use this approach when the on-premises setting is correct but an affected user is missing from the connector space or the change does not reach Exchange Online.
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.

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.




