Convert Shared Mailbox to User Mailbox (and User to Shared) in Office 365 / Exchange Online Using PowerShell

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

Exchange Online Set-Mailbox -Type Conversion Workflow
Shared -> User
-Type Regular
  • Set-Mailbox -Identity <UPN> -Type Regular
  • Assign M365 / EXO license within 30 days
  • Enable Entra ID sign-in & reset password
User -> Shared
-Type Shared
  • Set-Mailbox -Identity <UPN> -Type Shared
  • Free (no license needed) if size ≤ 50 GB
  • Block direct sign-in & reclaim user license
Resource Mailboxes
-Type Room / Equipment
  • 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 ValueResulting RecipientTypeDetailsLicense Required?Default Storage Quota
RegularUserMailboxYes (within 30 days of conversion)100 GB (EXO Plan 2 / E3 / E5) or 50 GB (Plan 1)
SharedSharedMailboxNo (up to 50 GB; requires EXO Plan 2 if > 50 GB or using Archive)50 GB (Unlicensed) / 100 GB (Licensed)
RoomRoomMailboxNo (up to 50 GB; Teams Rooms license if using Teams panel)50 GB
EquipmentEquipmentMailboxNo (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:

POWERSHELL
# 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:

TEXT
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):

  1. 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.
  2. 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.
  3. Review Delegate Permissions: Remove any legacy FullAccess or SendAs permissions 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:

POWERSHELL
# 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 run Set-RemoteMailbox -Identity <User> -Type Shared (or -Type Regular) in your on-premises Exchange Management Shell so Entra Connect does not overwrite the mailbox type.