Microsoft 365 Error Codes

Fix Microsoft 365 Shared Mailbox Conversion 401 Unauthorized Error

Huma Ashraf ChHuma Ashraf Ch Nov 3, 2026 869 views

Question details

The user encounters a 401 Unauthorized error when attempting to convert a regular Exchange Online user mailbox into a shared mailbox.

How to Fix Microsoft 365 Shared Mailbox Conversion 401 Unauthorized Error
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.
Before you start

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.

Solution 1Recommended

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.

1
Access the Admin Center

Log in to the Microsoft 365 admin center using your Global Administrator credentials.

2
Locate the affected user

Navigate to 'Users' > 'Active users' from the left-hand menu and select the user whose mailbox is returning the error.

3
Assign a temporary license

Go to the 'Licenses and apps' tab, check the box to assign a valid Exchange Online or Microsoft 365 license, and save the changes.

4
Retry the conversion

Wait a few minutes for the server provisioning to update, then retry converting the user to a shared mailbox from the Exchange admin center.

5
Remove the license

Once the conversion is successful, you can safely remove the temporary license from the new shared mailbox.

Temporarily Assign a License and Verify Mailbox Status
Licensing Requirement: Shared mailboxes under 50 GB generally do not require a license, but a regular mailbox must be licensed and fully provisioned at the exact moment of conversion.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the installer and follow the simple on-screen instructions to set up WPS Office on your device.
  3. 3. Open Your Documents: Launch WPS Office and open your existing Microsoft Office files directly without worrying about formatting loss.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation with blazing fast startup times to boost your productivity.Familiar and intuitive user interface that requires zero learning curve.Rich built-in PDF editing tools for comprehensive document management.
microsoft office alternative - wps office

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.