Microsoft Office 365 – How-to Reset All User Passwords

Obviously this isn’t something that you would do a lot, but in case you need to know how, here’s how you can reset all user passwords in a Microsoft Office 365 environment:

Help on accessing Office 365 powershell:

Once your connected run the following commands:
Import-Module msonline

Connect-MsolService -cred $cred

Get-Command -Module msonline

Get-msoluser |set-msoluserpassword -newpassword “password” -forcechangepassword $false

That’s it! 🙂

This entry was posted in Online Services, Powershell and tagged by virtualdennis. Bookmark the permalink.

About virtualdennis

I have over 18 years helping small to large enterprise businesses nationwide with their enterprise storage, backup and recovery, disaster recovery and system virtualization solutions. He holds numerous storage and virtualization certifications and has personally delivered over 300 complex enterprise solution implementations. He has been privileged to speak at various national events on the topics of datacenter virtualization, end-user virtualization, hyper-converged infrastructure and disaster recovery.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s