Email Migration

Remove Exchange Mailbox Properties Without Deleting an Active Directory Account

Chanuka GeekiyanageChanuka Geekiyanage Nov 25, 2026 868 views

Question details

Remove mailbox properties or address book visibility while keeping a synchronized Active Directory account.

Remove Exchange Mailbox Properties Without Deleting an Active Directory Account
Product
Microsoft Exchange hybrid and Active Directory
Device & OS
not provided
Scenario
An administrator needs to manage an unlicensed, synchronized user's Exchange recipient without deleting the Active Directory account.
Observed behavior
The user can still appear in the address book after being re-enabled and losing the Microsoft 365 license.
Before you start

Identify whether the on-premises recipient is a remote mailbox, a local mailbox, or another recipient type before making changes. Confirm whether you only need to hide the user or intend to remove the mailbox, because disabling a remote mailbox can lead to deletion of its Exchange Online mailbox.

Solution 1Recommended

Hide a Remote Mailbox from the Address Book

Use this approach when the goal is to stop displaying a synchronized remote mailbox without removing the recipient.

Removing a Microsoft 365 license does not necessarily remove the synchronized recipient from address lists. Manage a directory-synchronized recipient from its on-premises source.

1
Check the recipient

In the on-premises Exchange Management Shell, run Get-RemoteMailbox -Identity "user@example.com" | Format-List RecipientTypeDetails,HiddenFromAddressListsEnabled,RemoteRecipientType. Replace the address with the user's identity.

2
Hide the remote mailbox

If the recipient is a remote mailbox, run Set-RemoteMailbox -Identity "user@example.com" -HiddenFromAddressListsEnabled $true in the on-premises Exchange Management Shell.

3
Synchronize the change

On the Microsoft Entra Connect Sync server, open PowerShell and run Import-Module ADSync, followed by Start-ADSyncSyncCycle -PolicyType Delta. This command applies to Connect Sync, not Microsoft Entra Cloud Sync.

4
Check address book visibility

After synchronization, check the recipient in the Exchange admin center or Outlook on the web. Allow additional time for address list updates and for cached Outlook offline address books to refresh.

Hide a Remote Mailbox from the Address Book
Other recipient types: If Get-RemoteMailbox does not find the user, identify the recipient type before changing it. A mail user or local mailbox requires the corresponding Exchange management command.
Free Microsoft Office alternative

Work with Office Documents During Your Email Migration

WPS Office is a free, lightweight alternative for working with Office documents in a familiar interface, helping teams migrate document workflows smoothly. It does not manage Exchange mailboxes or Active Directory.

Document email migration plans and checklistsCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar tools for editing documents, spreadsheets, and presentationsFree and lightweight for everyday office work
microsoft office alternative - wps office

Frequently Asked Questions

Why does an unlicensed user still appear in the address book?

Removing a Microsoft 365 license does not necessarily remove or hide a synchronized Exchange recipient. Check its recipient type and address list visibility in the on-premises Exchange Management Shell.

Can I hide the user without deleting the mailbox?

For a synchronized remote mailbox, use Set-RemoteMailbox -Identity "user@example.com" -HiddenFromAddressListsEnabled $true on-premises, then synchronize the change.

Does disabling a remote mailbox delete the Active Directory account?

Disable-RemoteMailbox does not delete the Active Directory user account. However, it removes Exchange attributes and can cause the associated Exchange Online mailbox to be deleted after synchronization.

Why is the user still visible after I hide the remote mailbox?

Confirm that directory synchronization completed and check visibility in Outlook on the web or the Exchange admin center. Cached Outlook offline address books can take additional time to update.

Where do I run the ADSync synchronization command?

Run Import-Module ADSync and Start-ADSyncSyncCycle -PolicyType Delta in PowerShell on the Microsoft Entra Connect Sync server. These commands do not apply to Microsoft Entra Cloud Sync.