Office 365 passwords are set to expire every 90 days. The annoyance of this may outweigh the security benefit it brings for some (many?) users. But fear not – it is possible to get rid of the expiry altogether using Windows PowerShell with the Microsoft Online PowerShell module.
- Connect to Office 365 using PowerShell (see my previous post for how to do this)
- At the PowerShell command prompt type:
Set-MsolUser -UserPrincipalName email@example.com -PasswordNeverExpires $True