Due to a recent phishing attempt that targeted my CEO, I have been asked to force all users to change their Office 365 passwords. And I agree this should happen.
Rather than try to enforce a global password change with words, I'd like to force all of my users to have to change their passwords.
In the admin panel I can change the password expiration policy, but 14 days is the lowest interval I can choose. I want this to happen much faster, like today.
I'm thinking this SHOULD be possible with PowerShell, but I'm not sure. I don't want to provide the passwords for the users, but rather just force them to change it. I found a post from The Scripting Guy that, at first glance, looks like it should work. But when I try to use it I get a bunch of errors. Upon deeper investigation it looks like I would have to provide the new user passwords...