Exchange OnlineLatestPower ShellSoftware Support

Convert a User Mailbox to Shared mailbox & VoiceVersa Office 365 PowerShell

Open Power Shell as an Administrator

Power Shell ITDukes

Go to Start
Search for Power Shell
Right click on Windows Power Shell
Run as Administrator

Run the following commands

 Set-ExecutionPolicy RemoteSigned

(Need to configure this setting only once on your computer)
-Press “A” or “Y”
Press Enter

$UserCredential = Get-Credential

Credentials Office 365 PowerShell

Windows Power Shell Credential Request
Enter Admin’s Username & Password

 $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session -DisableNameChecking

Convert to Shared Mailbox

 Set-Mailbox -Identity user@domain.com -Type:Shared 

Convert to Regular Mailbox

 Set-Mailbox -Identity user@domain.com Type:Regular