Fix Microsoft 365 Shared Mailbox Conversion 401 Unauthorized Error
Question details
The user encounters a 401 Unauthorized error when attempting to convert a regular Exchange Online user mailbox into a shared mailbox.

- Product
- Microsoft 365 Exchange Online
- Device & OS
- not provided
- Scenario
- Converting a standard user mailbox to a shared mailbox via the Exchange admin center or PowerShell.
- Observed behavior
- The conversion process fails and returns a 401 Unauthorized error code, often caused by missing licenses, provisioning issues, or permission sync delays.
Ensure you are signed in to Microsoft 365 with an account that has Global Administrator or Exchange Administrator privileges, and confirm that the target mailbox still exists.
Temporarily Assign a License and Verify Mailbox Status
Assigning an active license ensures the mailbox is fully provisioned before converting it to a shared mailbox, which often resolves the 401 error.
A mailbox must be active and fully provisioned on the Exchange server to be converted. If the user's license was removed prematurely, the conversion command will be unauthorized.
Log in to the Microsoft 365 admin center using your Global Administrator credentials.
Navigate to 'Users' > 'Active users' from the left-hand menu and select the user whose mailbox is returning the error.
Go to the 'Licenses and apps' tab, check the box to assign a valid Exchange Online or Microsoft 365 license, and save the changes.
Wait a few minutes for the server provisioning to update, then retry converting the user to a shared mailbox from the Exchange admin center.
Once the conversion is successful, you can safely remove the temporary license from the new shared mailbox.

Convert to Shared Mailbox via Exchange Online PowerShell
Using PowerShell can bypass potential UI glitches in the Exchange admin center and execute the conversion directly on the server.
Manage Your Documents Effectively with WPS Office
While Microsoft 365 administrative tasks like mailbox conversions require server-side troubleshooting, your daily document management shouldn't be complicated. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office for all your word processing, spreadsheet, and presentation needs.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Software: Run the installer and follow the simple on-screen instructions to set up WPS Office on your device.
- 3. Open Your Documents: Launch WPS Office and open your existing Microsoft Office files directly without worrying about formatting loss.

Frequently Asked Questions
Why do I need a license to convert a mailbox to a shared mailbox?
A regular user mailbox must be fully provisioned and active on the Exchange server to be converted. Assigning a license temporarily ensures the mailbox is recognized as active, allowing the conversion command to execute without returning a 401 Unauthorized error.
Can another Global Administrator bypass the 401 Unauthorized error?
Yes. Occasionally, the error is tied to a specific administrator's session token or permission sync delay. Having another Global Administrator log in and attempt the conversion can bypass cached permission issues.
Does a shared mailbox need a license after conversion?
In Microsoft 365, a shared mailbox does not require a license as long as its total storage does not exceed 50 GB and an In-Place Archive is not enabled. Once successfully converted, you can safely remove the temporary user license.
How do I check if my mailbox conversion was successful?
You can verify the conversion by navigating to the 'Teams & groups' > 'Shared mailboxes' section in the Microsoft 365 admin center to see if the email address appears there. Alternatively, you can use Exchange Online PowerShell and run the Get-Mailbox command to check the RecipientTypeDetails.




