Bulk Update User Info in Azure Active Directory

%3CLINGO-SUB%20id%3D%22lingo-sub-1238086%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Update%20User%20Info%20in%20Azure%20Active%20Directory%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1238086%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F580250%22%20target%3D%22_blank%22%3E%40KNDheeraj%3C%2FA%3Ethe%20best%20and%20easiest%20way%20to%20do%20this%20is%20with%20PowerShell%20and%20the%20MSOnline%20module!%20You%20can%20use%20Set-MsolUserPrincipalName%20to%20change%20UPN's%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fmsonline%2Fset-msoluserprincipalname%3Fview%3Dazureadps-1.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fmsonline%2Fset-msoluserprincipalname%3Fview%3Dazureadps-1.0%3C%2FA%3E).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1226108%22%20slang%3D%22en-US%22%3EBulk%20Update%20User%20Info%20in%20Azure%20Active%20Directory%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1226108%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Azure%20AD%20Community%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20a%20small%20requirement%20for%20which%20I%20have%20to%20bulk%20change%20the%20User%20Principal%20Name%20and%20I%20have%20found%20few%20ways%20to%20achieve%20the%20same%3A%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20website%20given%20below%20outlines%20the%20way%20this%20can%20be%20achieved.%20But%20the%20problem%20with%20this%20site%2C%20is%20that%20I%20am%20unable%20to%20understand%20which%20software%20tools%20the%20author%20has%20used%20to%20achieve%20this%2C%20and%20also%20there%20is%20some%20code%20snippet%20attached%20and%20couldn't%20understand%20where%20to%20copy%20and%20paste%20that%20code%20in%20the%20software%20that%20he%20used%20earlier.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.macaalay.com%2F2016%2F08%2F12%2Fchanging-user-principal-names-in-bulk-on-azure-active-directory%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.macaalay.com%2F2016%2F08%2F12%2Fchanging-user-principal-names-in-bulk-on-azure-active-directory%2F%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20for%20someone%20having%20idea%20with%20Microsoft%20products%2C%20can%20you%20please%20me%20out%20in%20describing%20the%20software%20used%20and%20where%20can%20I%20execute%20the%20provided%20code%20on%20the%20software.%20So%20that%20it%20can%20help%20me%20achieve%20the%20required%20objective.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1226108%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1620901%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Update%20User%20Info%20in%20Azure%20Active%20Directory%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1620901%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F530025%22%20target%3D%22_blank%22%3E%40Jente_V%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20I%20make%20bulk%20changes%20without%20using%20POWERSHELL%20application%20as%20I%20am%20not%20aware%20of%20how%20to%20use%20it.%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ERavil%20P.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New 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
Highlighted

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

Highlighted

@Jente_V 

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

Thanks

Ravil P.