Whilst setting passwords to never expire can be easily achieved in Office 365 Medium and Enterprise levels using the GUI backend, doing the same in Office 365 Small Business is not as easily achieved due to removing many of the advanced features from the GUI. There is away around this however. It involves using Powershell which really isn’t for the average end user but if you’re managing this for a client it’s fairly easy to accomplish.
After logging in using Windows Azure Active Directory Module for Windows Powershell run the following command:
Connect-MsolService
and re-enter your username and password if prompted
Check Password Expiration – Organisation
Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires
Check Password Expiration – Individual User
Get-MSOLUser -UserPrincipalName exampleuser@organization.com | Select PasswordNeverExpires
Set All Passwords Never To Expire
Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true
Set Individual User to Never Expire
Set-MsolUser -UserPrincipalName exampleuser@organization.com -PasswordNeverExpires $true
Set All Users to Expire
Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $false
Set Individual to Expire
Set-MsolUser -UserPrincipalName exampleuser@organization.com -PasswordNeverExpires $false