Exchange Connection Problems

How to Convert an Exchange Online Mail User to a Mailbox User

Natalie TaylorNatalie Taylor Nov 2, 2026 869 views

Question details

The user needs to convert synchronized mail users into standard mailbox users in Exchange Online.

How to Convert an Exchange Online Mail User to a Mailbox User
Product
Microsoft Exchange Online
Device & OS
not provided
Scenario
A former hybrid environment experienced an emergency shutdown of its on-premises infrastructure, including Active Directory and Azure AD Connect, requiring administrators to assign cloud mailboxes to users who previously only had on-premises mailboxes.
Observed behavior
Because the users were initially synchronized from an on-premises environment, they remain classified as mail users with legacy mailbox attributes and cannot successfully receive new Exchange Online cloud mailboxes.
Before you start

Ensure you have Exchange Administrator credentials and that directory synchronization has been fully disabled for your Microsoft 365 tenant before attempting to clear legacy attributes.

Solution 1Recommended

Clear Previous Mailbox Information using Exchange Online PowerShell

Remove the legacy on-premises mailbox attributes using PowerShell so that Exchange Online can provision a fresh cloud mailbox for the user.

When an on-premises Exchange environment is abruptly decommissioned, synchronized users in Microsoft 365 retain legacy properties that identify them as mail users rather than mailbox users. Clearing these attributes forces Exchange Online to recognize them as pure cloud identities, allowing a new mailbox to be provisioned upon license assignment.

1
Inspect the user recipient type

Open Exchange Online PowerShell and run the `Get-User` cmdlet to inspect the affected user's RecipientType and current mailbox attributes.

2
Remove the Exchange Online license

Navigate to the Microsoft 365 Admin Center, locate the user, unassign their Exchange Online license, and wait a few minutes for the change to replicate across the tenant.

3
Run the attribute-clearing command

In your Exchange Online PowerShell session, execute the command: `Set-User user@contoso.com -PermanentlyClearPreviousMailboxInfo` (replacing user@contoso.com with the actual email address).

4
Reassign the license

Return to the Microsoft 365 Admin Center and reassign the Exchange Online license to the user. A new cloud mailbox will be provisioned shortly.

Verify Hybrid Configuration: Before running these commands, verify your DNS settings and confirm that Azure AD Connect is permanently disabled so that legacy on-premises attributes do not sync back and overwrite your changes.
Free Microsoft Office alternative

Looking for a lightweight office suite after infrastructure changes?

While resolving Exchange Online and Active Directory issues requires complex IT administration, your daily document tasks shouldn't be a hassle. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office, perfect for businesses transitioning to cloud-only or alternative infrastructures.

  1. 1. Download the installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install the software: Run the downloaded file and follow the simple on-screen instructions to complete the setup in minutes.
  3. 3. Open your files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files without losing formatting.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Lightweight installation that runs smoothly on almost any PC or Mac.Familiar user interface ensuring a seamless migration with zero learning curve.Built-in PDF tools to edit, merge, and convert documents effortlessly.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I just assign an Exchange Online license to the mail user?

Because the user was originally synchronized from an on-premises Active Directory, they carry legacy Exchange attributes. These attributes instruct Microsoft 365 to look for an on-premises mailbox, preventing the cloud service from automatically provisioning a new one until the legacy data is cleared.

How do I check a user's current recipient type in Exchange Online?

You can use the Exchange Online PowerShell module. Run the `Get-User -Identity user@domain.com | Format-List RecipientType, RecipientTypeDetails` cmdlet to view the exact status of the account.

Will clearing previous mailbox info delete the user's old on-premises emails?

The `-PermanentlyClearPreviousMailboxInfo` parameter removes the Exchange Online reference to the previous mailbox. Because the on-premises infrastructure is already unavailable in this scenario, access to those historical emails is lost unless they were backed up or archived separately before the shutdown.