To totally unlock this section you need to Log-in
Login
Scenario
We attempted to change an employees name from Jane Smith to Jane Jones. We made the changes on our local AD and synched them O365. O365 still shows the user name as "jsmith". The online (and offline) GAL still shows a last name of Smith and an alias of "jsmith". How can we get Jane's new name change to appear on O365?
Solution
The answer is that probably you haven't done anything wrong. If your users are not synchronized from Active Directory, you can change the sign-in name from the Details page in Office 365 (on each In-cloud user's properties section).
However, for AD-synced environments, the sign-in name (username) needs to be changed via PowerShell once an Office 365 license is assigned, and here's how you change the username:
Start PowerShell and make sure the Microsoft Online module is loaded (if you're using the MS Online Helpdesk PowerShell profile, that module will be loaded for you automatically). Execute the following command:
set-msoluserprincipalname -NewUserPrincipalName [email protected] -UserPrincipalName [email protected]
This will change the sign-in name and should help resolve any sync issues. To change the GAL display name, make sure that the displayName property in Active Directory is updated (in addition to Last Name) and either force the directory sync or wait for changes to sync during the next sync window.