Office 365 Password Expiration

In Office 365 you can disable password expiration through PowerShell as long as you are not using ADFS.

Once you establish a powershell session to your Office 365 tenant, run:

Set-MsolUser "username" -PasswordNeverExpires $True

To change it for all users, you can use:

Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $True

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top