How to Change UPN in O365 for a Mailbox User   Leave a comment

There is only one way you can do it while running the exchange and O365 hybrid mode. this is not directly possible but you need to first change this to intermediate UPN and then to the required UPN as below 2 power shell commands:

Let say you want to change UPN for a user user@domain.net to user@domain.com,

Set-MsolUserPrincipalName -UserPrincipalName user1@domain.net -NewUserPrincipalName user1@domain.onmicrosoft.com
Set-MsolUserPrincipalName -UserPrincipalName user1@domain.onmicrosoft.com -NewUserPrincipalName user1@domain.com

 

Advertisements

Posted May 24, 2016 by Prem Rana in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: