Monday, September 21, 2015

Changing Password in cloud identities with Windows PowerShell

I had come ac-crossed to the accounts which are stored within Azure Active Directory and they need to be integrated in office 365.I imported bulk users specially formatted CSV file into Office 365.After importing the user I had changed the password for the particular user with below command

Changing Password: 

Set-MsolUserPassword –UserPrincipalName sid.ali@spadministration.onmicrosoft.com
–NewPassword Pa$$w0rd –ForceChangePassword $true