Keep password when adding users from csv

Copper Contributor

Hi all,

 

When I create users I don't asign a password to the specific user, office365 generates one randomly.

Now when I try to log in with the random generated password, I have to change the password to a different password. Is there any option I can keep the random generated password without having to change it? I know there is an option when you manually create users.

 

Thanks in advance,

 

Zenna Willemsen

1 Reply

Simply use the -ForceChangePassword switch when running the New-MsolUser cmdlet (-ForceChangePassword:$false). If you are using the UI instead, I don't think there's a way.