SOLVED

Change password to multiple users using a csv file

%3CLINGO-SUB%20id%3D%22lingo-sub-1860370%22%20slang%3D%22en-US%22%3EChange%20password%20to%20multiple%20users%20using%20a%20csv%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1860370%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3EI%20have%20to%20change%20a%20set%20of%20user%20passwords.%3CBR%20%2F%3EA%20list%20with%20the%20new%20password%20was%20created%20and%20I%20need%20to%20upload%20it%20somehow!%3CBR%20%2F%3EIs%20the%20a%20way%20to%20achieve%20this%3F%3CBR%20%2F%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1860370%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1861294%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20password%20to%20multiple%20users%20using%20a%20csv%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1861294%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20the%20moment%20i%20foud%20a%20solution.%3C%2FP%3E%3CP%3EI%20will%20use%20this%20powershell%20command%20to%20change%20each%20user%3A%3C%2FP%3E%3CP%3ESet-MsolUserPassword%20%E2%80%93UserPrincipalName%2000001%40mydomain.pt%20%E2%80%93NewPassword%20Mynew%23321%20-ForceChangePassword%20%24False%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hello,
I have to change a set of user passwords.
A list with the new password was created and I need to upload it somehow!
Is the a way to achieve this?
Thanks

1 Reply
Highlighted
Best Response confirmed by Vasil Michev (MVP)
Solution

Hi,

 

For the moment i foud a solution.

I will use this powershell command to change each user:

Set-MsolUserPassword –UserPrincipalName 00001@mydomain.pt –NewPassword Mynew#321 -ForceChangePassword $False