Back to blog

Change Primary SMTP address without changing the login name on Office 365

Jun 25, 2012 by Emma Robinson

I came across a problem the other day where a user wanted to change their primary Email address on Office 365 without changing their Logon ID.

Basically, they wanted to change the users’ email address from to However, they also wanted the user to keep using as their Microsoft Online Services ID (Login ID).

We fixed it up with a few simple Powershell commands.

Read more: Optimizing PowerShell for large Office 365 tenants

Firstly, log on to Office 365 using Powershell.

Then run the following Powershell command (where username is obviously the persons username you want to change):
Set-Mailbox username -WindowsEmailAddress

Voila, it’s done!

Find out more about our Office 365 Management software if you’d like not to worry about these types of problems ever again.