Email Recovery

Disable a Remote Mailbox in Hybrid Exchange While Retaining the User

Emma BrownEmma Brown Nov 25, 2026 868 views

Question details

Determine whether an Exchange Online mailbox can be soft-deleted while retaining its synchronized on-premises user account.

Disable a Remote Mailbox in Hybrid Exchange While Retaining the User
Product
Hybrid Exchange and Exchange Online
Device & OS
not provided
Scenario
An administrator wants to remove a cloud mailbox but keep the associated on-premises user account.
Observed behavior
After the Exchange Online license was removed and Disable-RemoteMailbox was run, the cloud mailbox was removed but did not appear as a soft-deleted mailbox.
Before you start

Identify the synchronized user and check how the Exchange Online license is assigned in the Microsoft 365 admin center. Review any retention or legal hold requirements before removing the license or disabling the mailbox.

Solution 1Recommended

Remove the Exchange Online License Before Disabling the Remote Mailbox

Use this sequence to remove the cloud mailbox while retaining the on-premises user, without assuming the mailbox will be soft-deleted.

In the reported scenario, removing the license and running Disable-RemoteMailbox removed the cloud mailbox but did not produce a soft-deleted mailbox. This sequence does not satisfy a requirement to keep a recoverable soft-deleted mailbox.

1
Remove the license

In the Microsoft 365 admin center, open Users > Active users, select the user, and open Licenses and apps. Remove the Exchange Online license or service assignment as appropriate. If licensing is group-based, update the group assignment instead.

2
Disable the remote mailbox

In the on-premises Exchange Management Shell, run Disable-RemoteMailbox -Identity "user@domain.com", replacing the address with the intended user's identity. Confirm the prompt after verifying the target.

3
Check the mailbox state

Connect to Exchange Online PowerShell and run Get-Mailbox -SoftDeletedMailbox -Identity "user@domain.com" to check whether the mailbox appears as soft-deleted. Also verify that the on-premises user account remains present.

Remove the Exchange Online License Before Disabling the Remote Mailbox
Retention requirement: If a soft-deleted or otherwise retained mailbox is required, do not rely on Disable-RemoteMailbox alone. Review Microsoft’s current mailbox retention and recovery guidance for your tenant and applicable holds before proceeding.
Free Microsoft Office alternative

Document Your Hybrid Exchange Mailbox Procedures in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for a seamless move between document tools. Use it to maintain mailbox administration checklists; it does not manage Exchange or recover mailboxes.

Create and update hybrid Exchange administration checklistsOpen and edit Microsoft Word DOCX and Excel XLSX filesUse a familiar interface for documents and spreadsheetsWork with a free, lightweight Office suite
microsoft office alternative - wps office

Frequently Asked Questions

Does Disable-RemoteMailbox create a soft-deleted Exchange Online mailbox?

Not in the scenario described here. After the Exchange Online license was removed and Disable-RemoteMailbox was run, the mailbox was removed but did not appear as soft-deleted.

Can I keep the on-premises user when I remove the cloud mailbox?

Yes. Remove the Exchange Online license or service assignment, then run Disable-RemoteMailbox in the on-premises Exchange Management Shell. Verify the user remains present, and do not assume the cloud mailbox is soft-deleted.

How can I check for a soft-deleted mailbox?

Connect to Exchange Online PowerShell and run Get-Mailbox -SoftDeletedMailbox -Identity "user@domain.com", using the mailbox identity you want to check.

What if the license is assigned through a group?

Check the user's license assignment in the Microsoft 365 admin center under Users > Active users > Licenses and apps. If the assignment is group-based, update the relevant group assignment rather than relying on a direct user-level change.

Should I delete the synchronized user to retain a recoverable mailbox?

Deleting the synchronized user conflicts with the goal of retaining the on-premises account. Review current Microsoft guidance and any retention or legal holds before choosing a deletion or retention approach.