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

Tachytelic.net

  • Sco Openserver
    • Sco Unix Support
    • SCO Openserver Installation ISOs
    • SCO Openserver Binaries
    • Add a Hard Drive to an Openserver 5 Virtual Machine
    • Install SCO Vision SQL-Retriever ODBC Driver on Windows 10
    • License Expired on Virtual SCO Openserver Installation
    • How to reset the root password on SCO Openserver 5
  • Scripting
    • PowerShell
      • Add leading zeros
      • Check if a File Exists
      • Grep with Powershell
      • Create Environment Variables
      • Test for open Ports
      • Append to a Text File
    • VBScript
      • Check if a File Exists
      • lpad and rpad functions
      • Windows Update E-Mail Notification
  • Office 365
    • Connect to Office 365 with PowerShell
    • Add or remove an email alias using Powershell
    • Change Primary email address of Active Directory user
    • How to hide an AD user from the Global Address List
    • How to hide mail contacts from the Global Address List
    • Change the primary email address for an account with PowerShell
    • Change Primary email address of an AD User
    • Grant a single user access to access to all calendars
    • Forward email to an external address using Powershell
    • Convert shared mailbox to user mailbox with Powershell
  • Get in Touch
  • About Me
    • Privacy Policy

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] -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.

Related

Filed Under: Office 365, Scripts & Utilities, Technical Posts Tagged With: E-Mail, 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
Go to mobile version