After importing the user from Azure Active Directory I had written the below command for making the user password gets never expired.
Never expires password:
Get-MsolUser | Set-MsolUser –PasswordNeverExpires $true
Get-MsolUser | Set-MsolUser –PasswordNeverExpires $true