Whether you are converting a departed employee's User Mailbox into a Shared Mailbox to save on Microsoft 365 licensing, or converting a Shared Mailbox back into a Regular User Mailbox for a dedicated user, Exchange Online PowerShell (Set-Mailbox -Type) makes the conversion seamless without losing a single email, folder, or calendar item.
In this updated 2026 guide, we cover how to convert between Regular, Shared, Room, and Equipment mailboxes, verify storage quotas (50 GB vs. 100 GB), and handle licensing and sign-in settings cleanly.
Architecture: Mailbox Type Conversion Matrix in Exchange Online
Set-Mailbox -Identity <UPN> -Type Regular- Assign M365 / EXO license within 30 days
- Enable Entra ID sign-in & reset password
Set-Mailbox -Identity <UPN> -Type Shared- Free (no license needed) if size ≤ 50 GB
- Block direct sign-in & reclaim user license
Set-Mailbox -Type Room(Meeting Rooms)Set-Mailbox -Type Equipment(Vehicles/Gear)- Configure
Set-CalendarProcessing -AutomateProcessing AutoAccept
Supported -Type Values for Set-Mailbox
You can pass any of the following four values to the -Type parameter of Set-Mailbox:
-Type Parameter Value | Resulting RecipientTypeDetails | License Required? | Default Storage Quota |
|---|---|---|---|
Regular | UserMailbox | Yes (within 30 days of conversion) | 100 GB (EXO Plan 2 / E3 / E5) or 50 GB (Plan 1) |
Shared | SharedMailbox | No (up to 50 GB; requires EXO Plan 2 if > 50 GB or using Archive) | 50 GB (Unlicensed) / 100 GB (Licensed) |
Room | RoomMailbox | No (up to 50 GB; Teams Rooms license if using Teams panel) | 50 GB |
Equipment | EquipmentMailbox | No (up to 50 GB) | 50 GB |
Scenario 1: Convert a Shared Mailbox Back to a User Mailbox (-Type Regular)
Use the following PowerShell commands to convert a Shared Mailbox (such as [email protected] or Marketing) back into a standard User Mailbox:
# Connect to Exchange Online PowerShell V3
Connect-ExchangeOnline -ShowBanner:$false
# 1. Check current mailbox type and quota before conversion
Get-Mailbox -Identity "[email protected]" |
Select-Object DisplayName, PrimarySmtpAddress, RecipientTypeDetails, ProhibitSendReceiveQuota
# 2. Convert the Shared Mailbox back to a Regular User Mailbox
Set-Mailbox -Identity "[email protected]" -Type Regular
# 3. Verify that RecipientTypeDetails is now UserMailbox
Get-Mailbox -Identity "[email protected]" |
Format-List DisplayName, PrimarySmtpAddress, RecipientTypeDetails, ProhibitSendReceiveQuota
Live Output from Our LAB 365 (lab365.in) Tenant:
DisplayName PrimarySmtpAddress RecipientTypeDetails ProhibitSendReceiveQuota
----------- ------------------ -------------------- ------------------------
guestmail [email protected] SharedMailbox 50 GB (53,687,091,200 bytes)
Abhishek [email protected] UserMailbox 100 GB (107,374,182,400 bytes)
Post-Conversion Checklist (Shared -> User):
- Assign a License Immediately: Open the Microsoft 365 Admin Center -> Users -> Active users, select the converted user, and assign an Exchange Online / Microsoft 365 license.
- Unblock Sign-In & Reset Password: Because Shared Mailboxes have interactive sign-in blocked by default, enable sign-in (
Update-MgUser -UserId "[email protected]" -AccountEnabled:$true) and issue a temporary password. - Review Delegate Permissions: Remove any legacy
FullAccessorSendAspermissions if the mailbox is now owned privately by a single user (Get-MailboxPermission -Identity "[email protected]").
Scenario 2: Convert a User Mailbox to a Shared Mailbox (-Type Shared)
When an employee leaves the organization and you want to retain their mailbox for a manager or team without paying for a monthly user license:
# 1. Verify the mailbox size is under 50 GB before removing the license
Get-MailboxStatistics -Identity "[email protected]" |
Select-Object DisplayName, TotalItemSize, ItemCount
# 2. Convert the User Mailbox to a Shared Mailbox
Set-Mailbox -Identity "[email protected]" -Type Shared
# 3. Grant FullAccess and SendAs permissions to the manager (with AutoMapping enabled)
Add-MailboxPermission -Identity "[email protected]" -User "[email protected]" -AccessRights FullAccess -InheritanceType All -AutoMapping:$true
Add-RecipientPermission -Identity "[email protected]" -Trustee "[email protected]" -AccessRights SendAs -Confirm:$false
Warning Before Removing the License: Only remove the user's Microsoft 365 license after confirming that:
1. The mailbox size is under 50 GB, AND
2. The mailbox does not have an active In-Place Archive (ArchiveStatus: Active) or Litigation Hold / Retention Hold that requires an Exchange Online Plan 2 license.
> If the user is synced from on-premises Active Directory in an Exchange Hybrid environment, also runSet-RemoteMailbox -Identity <User> -Type Shared(or-Type Regular) in your on-premises Exchange Management Shell so Entra Connect does not overwrite the mailbox type.