Monday, September 21, 2015

Never expires Password in cloud identities with Windows PowerShell

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