skip to Main Content

Convert user mailbox to shared mailbox with PowerShell

You want to convert the user mailbox to shared mailbox in Exchange Server. It’s possible to convert the user mailbox to shared mailbox in a couple of ways. One of them is in the Exchange Admin Center. The other way is to convert the user mailbox to shared mailbox with PowerShell. In Exchange 2010, it’s only possible to do it with PowerShell. In Exchange 2013/2016/2019, you can do it through both ways.

Update: Good to know is that Microsoft removed the option to convert the user mailbox to shared mailbox in Exchange admin center on-premises. Don’t panic as PowerShell will get the job done.

Why do you want to convert the user mailbox?

Why you want to convert a user mailbox to shared mailbox:

  • You created a user mailbox, but it should be a shared mailbox.
  • You don’t want to license the user mailbox. A shared mailbox has no license/cost attached.

Do you like to have an export of all the user mailboxes and shared mailboxes? Read the article Get mailbox size of all users in Exchange with PowerShell.

Convert user mailbox to shared mailbox

Note: If your organization uses an Exchange hybrid environment, you need to manage your mailboxes using the on-premises Exchange management tools. Follow the article Convert user mailbox to shared mailbox in Exchange Hybrid.

Run Exchange Management Shell as administrator. Run the Set-Mailbox cmdlet and specify the user mailbox. You can fill in the display name or email address of the mailbox. You will not get an output showing that it’s succeeded after running the cmdlet.

[PS] C:\>Set-Mailbox "Boris Campbell" -Type Shared

[PS] C:\>Set-Mailbox "boris.campbell@exoip.com" -Type Shared

Verify converted mailbox type

How do you know if converting the user mailbox to shared mailbox worked? Run the Get-Mailbox cmdlet, and it will show the output. It will show as SharedMailbox, as seen below.

[PS] C:\>Get-Mailbox -Identity "Boris Campbell" | Format-Table Name, RecipientTypeDetails

Name           RecipientTypeDetails
----           --------------------
Boris Campbell        SharedMailbox


[PS] C:\>Get-Mailbox -Identity "Boris.Campbell@exoip.com" | Format-Table Name, RecipientTypeDetails

Name           RecipientTypeDetails
----           --------------------
Boris Campbell        SharedMailbox

Now that we verified the mailbox and all is looking good, we can mark this as solved! Did this help you to convert the user mailbox to shared mailbox in Exchange Server with PowerShell?

What if you have more then a couple of user mailboxes to convert to shared mailboxes? Read the article Bulk convert user mailbox to shared mailbox with PowerShell.

Conclusion

In this article, you learned how to convert user mailbox to shared mailbox with PowerShell. Start Exchange Management Shell and run the cmdlet, as seen in the article. After that, verify the Recipient Type details. It will show as Shared Mailbox.

Did you enjoy this article? You may also like Convert Global to Universal Security Group with PowerShell. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 5 Comments

  1. I was wondering if you could do an article with power shell on how we identify O365 the email addresses for cloud mailboxes that haven’t been accessed in say 180 days so we can export them to a csv file and subsequently use the csv to convert the email addresses of the users in the csv to shared mailboxes .

    I would be grateful for your help .

  2. Evening Ali,

    If I wanted to mass convert a batch of user email addresses in a csv file , what would the syntax look like .

  3. How long can a shared mailbox have mailbox items if there no users delegated to access the shared mailbox?

Leave a Reply

Your email address will not be published.