StevieM Posted January 19, 2015 Posted January 19, 2015 Is there an easy way of setting up Office 365 accounts with preconfigured passwords? When I set up our first cohort a few years ago, I'm almost certain I did a bulk import from a .csv file and included a field for passwords. I don't think it is possible to do it that way any longer. I need to learn PowerShell (and a million and one other things!) as, ideally, I'd like to be able to bulk import users into distribution groups too. For now, though, preconfigured passwords that don't expire would be enough. Any help would be greatly appreciated.
jamesbmarshall Posted January 19, 2015 Posted January 19, 2015 Yes, you can just write a PowerShell script to read in from a file of passwords to set each user. You can also disable expiry, and I *think* (may not be true) you can override the "reset on next login" option. 1
nicholab Posted January 19, 2015 Posted January 19, 2015 (edited) I used "Set-MsolUserPassword –UserPrincipalName $_.UserPrincipalName –NewPassword $_.newpassword -ForceChangePassword $True" this is in a for loop. Edited January 19, 2015 by nicholab 1
StevieM Posted January 19, 2015 Author Posted January 19, 2015 Yes, you can just write a PowerShell script to read in from a file of passwords to set each user. You can also disable expiry, and I *think* (may not be true) you can override the "reset on next login" option. I could... if I knew how to write PowerShell scripts. There are a lot of basic management tasks in O365 that require knowledge of PowerShell, otherwise they take a LONG time. But, hey, it's free so I can't complain really. Thanks, anyway.
Edu-IT Posted January 19, 2015 Posted January 19, 2015 http://o365info.com/manage-office-365-users-password-using/ 1
StevieM Posted January 20, 2015 Author Posted January 20, 2015 http://o365info.com/manage-office-36...assword-using/ Wow! That's a really useful site. I'll definitely bookmark that one. I really appreciate the PM help from @nicholab and @sonofsanta, too. I ended up just setting up the urgent ones with a basic bulk import from a .csv file, but I know I need to learn PowerShell for future use. The trouble is, there are already more holes in my ICT knowledge than a Swiss cheese, and I could do with filling some of those in before I start making more cheese! This is why Edugeek is such a lifeline for me. You guyz (and galz) is da best! Edit: I found the automatic truncation to ...assword highly amusing!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now