Setting a User to have NonExpiring Password
Connect-MSOLService
Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires
Get-MSOLUser -UserPrincipalName alias | Select PasswordNeverExpires
Set-MSOLUser -UserPrincipalName alias -PasswordNeverExpires $true