Office 365 – Change a shared mailbox email address
Sometimes you use a shared mailbox to receive emails on a given project and then the name of the project change with its email address.
Unfortunately for GUI lovers, on the Office 365 web administration portal you can edit the name and the alias but you can’t edit the email address itself. So, you have to do it through Powershell.
So open a PowerShell window and login to your administrator account:
$Cred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session
Then change the email address directly using this command:
Set-Mailbox -Identity oldEmail@domain.com -EmailAddresses newEmail@domain.com
To finish, refresh the web interface and you will see the change.
Comments: 1
I had to use -ConnectionURL https://ps.outlook.com/powershell/