This applies to Office 365 instances where you are NOT using ADFS for directory federation.
This DOES work for Directory Synchronisation scenarios and plain old no-AD scenarios.
From any Windows 2008 or Windows 7 (and up) perform the following:
- Connect to Microsoft Online Services by using the Microsoft Online Services Module for Windows PowerShell
- Run the following PowerShell cmdlets
Connect-MsolService Set-MsolUserPrincipalName -UserPrincipalName [CurrentUPN] -NewUserPrincipalName [NewUPN]
Connect-MsolService Set-MsolUserPrincipalName -UserPrincipalName email@example.com -NewUserPrincipal
If you need further assistance, please don’t hesitate to reach out to us on 1800 66 44 56 or submit your questions here https://fivep.com.au/contact-fivep/.
|Matt Narayan | Head of Professional Services | FiveP
About the author: With over 15 years’ experience working in the technology industry, Matt is an experienced professional business analyst and brings a wealth of capability to any project.