How to Convert an Exchange Online Mail User to a Mailbox User
Question details
The user needs to convert synchronized mail users into standard mailbox users in Exchange Online.

- 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.
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.
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.
Open Exchange Online PowerShell and run the `Get-User` cmdlet to inspect the affected user's RecipientType and current mailbox attributes.
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.
In your Exchange Online PowerShell session, execute the command: `Set-User user@contoso.com -PermanentlyClearPreviousMailboxInfo` (replacing user@contoso.com with the actual email address).
Return to the Microsoft 365 Admin Center and reassign the Exchange Online license to the user. A new cloud mailbox will be provisioned shortly.
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. Download the installer: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the software: Run the downloaded file and follow the simple on-screen instructions to complete the setup in minutes.
- 3. Open your files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files without losing formatting.

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.




