• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Tachytelic.net

  • Get in Touch
  • About Me

Office 365:Convert shared mailbox to user mailbox with Powershell

October 1, 2013 by Paulie 4 Comments

It’s easy to change the mailbox type in Office 365 with Powershell.

Using the Set-mailbox cmdlet there are four possible types of mailbox that you can set:

  • Regular
  • Room
  • Equipment
  • Shared

Examples to change the type of a mailbox:

  • Convert to Shared Mailbox:
    Set-Mailbox -Identity [email protected] -Type:Shared
  • Convert to Regular Mailbox:
    Set-Mailbox -Identity [email protected]ytelic.net -Type:Regular
  • Convert to Equipment Mailbox:
    Set-Mailbox -Identity [email protected] -Type:Equipment
  • Convert to Room Mailbox:
    Set-Mailbox -Identity [email protected] -Type:Room

PowerShell to change a mailbox type in Office 365

Use the form below to generate the PowerShell Required to change the mailbox type:

  • Fill in the identity value of the mailbox that you want to convert
  • Select the mailbox type that you want to convert it to.
  • Copy and paste the generated code to a PowerShell window.

Remember to set your PowerShell execution policy, otherwise the script will not run. Set the PowerShell execution policy to at least RemoteSigned.

If you are converting to a “Regular” mailbox, ensure that you assign a license after you have run the conversion.

If successful, you should get output like this:
Image showing successful conversion of mailbox in Office 365 from Powershell

If you found this post helpful, I would really appreciate it if you rated it.

Filed Under: Office 365, Scripts & Utilities, Technical Posts Tagged With: Office 365, Powershell

Reader Interactions

Comments

  1. Lucas says

    October 20, 2013 at 8:15 pm

    Hi,

    I am desperatly looking for the right script to change my shared office 365 mailbox to a regulair mailbox. Nothing works. I get the following error:

    Error on proxy command ‘Set-Mailbox -Identity:’ *** REMOVED *** I used my the mailbox email ****’ -Type:’Regular’ -Confirm:$False -Force:$True’ to server AMXPR01M
    B006.eurprd01.prod.exchangelabs.com: Server version 1941996320, Proxy method PSWS:
    Request return error with following error message:
    The remote server returned an error: (500) Internal Server Error…
    + CategoryInfo : NotSpecified: (:) [Set-Mailbox], CmdletProxyException
    + FullyQualifiedErrorId : Microsoft.Exchange.Configuration.CmdletProxyException,Microsoft.Exchange.Management.Reci
    pientTasks.SetMailbox
    + PSComputerName : pod51036psh.outlook.com

  2. Eric says

    October 21, 2013 at 12:24 pm

    Hi Lucas,

    I get the exact same error since 20/10/2013 !
    I already converted hundreds of mailboxes this way, but apparently Microsoft introduced a bug this weekend on their Exchange Online infrastructure.

  3. Petr Weiner says

    October 23, 2013 at 4:51 pm

    Hi,
    MS has a bug. Solution is specify a TARGET server like in this example:

    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell?targetserver=AMSPR06MB101.eurprd06.prod.outlook.com -Credential $LiveCred -Authentication Basic -AllowRedirection

  4. Tim B says

    November 2, 2016 at 3:04 am

    Petr,

    How do we find out what target server to specify?

    cheers,

    tim

Leave a Reply Cancel reply

Primary Sidebar

Link to my LinkedIn Profile
Buy me a coffee

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 245 other subscribers.

Go to mobile version