Change Office 365 Synced Users UPN Name.

0
44
views

Change Office 365 Synced Users UPN Name.

Every now and then we get a user request to have their Office 365 Signin name to be change. This is typically when someone gets married . So how do we change the Signin name.

We start with the Active Directory

  1. Rename the AD User (to match the new surname etc)
  2. Change the ProxyAddress

After changing the Active Directory details, we head over to AD Connect and force a delta sync.

Then

 

Once the sync has completed, you will notice that all the changes has applied. However the user SignIn name in Office 365 has not changed.

To change the SignIn name / UPN in Office 365 to match what is in Active Directory we need to start an MSOL PowerShell session.

Run the following:

Once a session has been established run the following:

This cmdlet will get the current UPN / SignIn name for the user Jessica.may@o365cloudlab.co.za

Now that we have noted the current Signin and UPN details of the users, we can go ahead and change it to match what is not in Active Directory.

To change the SignIn /UPN name run the following:

To change the SignIn details we need to provide the current UPN name which is:
Then we need to provide the new UPN which is:

Once this has been set, the user can now login to Office 365 using the new SignIn name.

Sharing is caring!

LEAVE A REPLY

Please enter your comment!
Please enter your name here