Bulk Update User Info in Azure Active Directory

Copper Contributor

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.

http://www.macaalay.com/2016/08/12/changing-user-principal-names-in-bulk-on-azure-active-directory/

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.

2 Replies

@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...).

@Jente_Vandijck 

How can I make bulk changes without using POWERSHELL application as I am not aware of how to use it. 

Thanks

Ravil P.