Mar 12 2020
- last edited on
Jan 14 2022
Hello Azure AD Community,
I have a small requirement for which I have to bulk change the User Principal Name and I have found few ways to achieve the same:
The website given below outlines the way this can be achieved. But the problem with this site, is that I am unable to understand which software tools the author has used to achieve this, and also there is some code snippet attached and couldn't understand where to copy and paste that code in the software that he used earlier.
So for someone having idea with Microsoft products, can you please me out in describing the software used and where can I execute the provided code on the software. So that it can help me achieve the required objective.
Mar 19 2020 05:38 AM
@KNDheerajthe best and easiest way to do this is with PowerShell and the MSOnline module! You can use Set-MsolUserPrincipalName to change UPN's (https://docs.microsoft.com/en-us/powershell/module/msonline/set-msoluserprincipalname?view=azureadps...).
Aug 29 2020 10:27 AM
How can I make bulk changes without using POWERSHELL application as I am not aware of how to use it.