Collaborate without boundaries

Changing Primary SMTP address without changing the Microsoft Online Services ID

Changing Primary SMTP address without changing the Microsoft Online Services ID

The remote Powershell cmdlets are rather limited compared to a full Exchange Organization. There are, however, some tricks you may be able to use to get jobs done. One example is changing the PrimarySMTPAddress attribute on a user account. Currently, there is no way to do this from the ECP without changing the Microsoft Online Services ID as well.

Thankfully, the WindowsEmailAddress is tied to this attribute and can be changed using remote Powershell.


Use the following command:


Set-Mailbox jmcbee -WindowsEmailAddress jim@contoso.com

 

1 out of 4 people found this post helpful.

Sort by: Published Date | Most Recent | Most Useful
Comments
  • Does this work when using dirsync?

  • What would the cmdlet be for doing this to all users?

Page 1 of 1 (2 items)