Bulk update Azure AD with user attributes from file CSV

%3CLINGO-SUB%20id%3D%22lingo-sub-1752810%22%20slang%3D%22en-US%22%3EBulk%20update%20Azure%20AD%20with%20user%20attributes%20from%20file%20CSV%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1752810%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Everyone%2C%20I%20have%20a%20case%20with%20AzureAD.%20I%20have%20a%20problem%20with%20update%20bullk%20user%20from%20file%20CSV%20to%20AzureAD.%26nbsp%3B%20I'm%20using%20a%20file%20script%20below%2C%20its%20errors.%20I'm%20try%20repair%20a%20file%20script%20but%20unsuccessfully.%20I%20look%20for%20help%20on%20this%20blog%20to%20answer%20my%20questions%20and%20get%20my%20job%20done%2C%20hoping%20to%20get%20help%20from%20microsoft%20and%20you%20guys.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Image%2016.jpg%22%20style%3D%22width%3A%20831px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224746iAADBD32A4DC3682D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Image%2016.jpg%22%20alt%3D%22Image%2016.jpg%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Image%2015.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224745iF47888B861043E32%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Image%2015.jpg%22%20alt%3D%22Image%2015.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1771439%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20update%20Azure%20AD%20with%20user%20attributes%20from%20file%20CSV%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1771439%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F823082%22%20target%3D%22_blank%22%3E%40NguyenQuocDat%3C%2FA%3E%26nbsp%3BI%20would%20highly%20recommend%20reposting%20your%20script%20using%20the%20Insert%20Code%20Sample%20option%2C%20that%20way%20people%20can%20edit%20your%20script%20for%20you%20without%20having%20to%20re-type%20it%20all%20out.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20thing%20I%20did%20notice%20is%20that%20your%20calling%20for%20the%20userPrincipalName%2C%20the%20proper%20attribute%20value%20is%20UserPrincipalName%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20title%3D%22Azure%20AD%20UserPrincipalName%20population%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fplan-connect-userprincipalname%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20AD%20UserPrincipalName%20population%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Visitor

Hi Everyone, I have a case with AzureAD. I have a problem with update bullk user from file CSV to AzureAD.  I'm using a file script below, its errors. I'm try repair a file script but unsuccessfully. I look for help on this blog to answer my questions and get my job done, hoping to get help from microsoft and you guys.Image 16.jpgImage 15.jpg

1 Reply
Highlighted

@NguyenQuocDat I would highly recommend reposting your script using the Insert Code Sample option, that way people can edit your script for you without having to re-type it all out.

 

One thing I did notice is that your calling for the userPrincipalName, the proper attribute value is UserPrincipalName

 

Azure AD UserPrincipalName population