Name change in Office365
Problem Description :
A student's name and username is changed in Active Directory but does not automatically update through the DirSync run.
Resolution :
1. Run the Rename script on MBX1 (desktop).
2. Login to Cipher2 Server
3. Open Powershell
4. Type Connect-MsolService command and hit enter key
5. Login using O365 Cloud Service Account - username: gordonsync@gordonstateedu.onmicrosoft.com
6. Wait a minute for PowerShell to connect to the cloud
7. Next run the following command...
Set-MsolUserPrincipalName -UserPrincipalName <OLD UPN> -NewUserPrincipalName <new UPN>
where <OLD UPN> is the old user name + @gordonstate.edu (for example ab123456@gordonstate.edu)
and <new UPN> is the new user name + @gordonstate.edu
8. Login to Office365 cloud using admin account (https://login.microsoftonline.com) and search for student under Active Users.Office365 account username should now match Active Directory
Revision Date : 7/25/2018