Remove Exchange Mailbox Properties Without Deleting an Active Directory Account
Question details
Remove mailbox properties or address book visibility while keeping a synchronized 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.
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.
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.
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.
If the recipient is a remote mailbox, run Set-RemoteMailbox -Identity "user@example.com" -HiddenFromAddressListsEnabled $true in the on-premises Exchange Management Shell.
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.
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.

Disable a Remote Mailbox While Keeping the AD Account
Use this only when mailbox removal is intended, not merely to hide a user from the address book.
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.

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.




