Specific account
Get-MSOLUser -UserPrincipalName <user ID> | Select PasswordNeverExpires
Every Organization
Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true
Specific account
Get-MSOLUser -UserPrincipalName <user ID> | Select PasswordNeverExpires
Every Organization
Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true