sunnuntai 4. elokuuta 2013

Disable password expiration on office 365

Here are few steps to complete if you want to disable password expiration on office 365

1. Install needed software
Install Microsoft Online Services Sign-In Assistant for IT Professionals BETA
http://www.microsoft.com/en-us/download/confirmation.aspx?id=39267 
and Windows Azure AD Module for Windows PowerShell http://technet.microsoft.com/en-us/library/jj151815.aspx

2. Logon to your services
Once you do that open the proper powershell ( Windows Azure AD Module for Windows PowerShell) and run command:
$cred=Get-Credential
Logon with you Office 365 credentials


3. Run commands to change settings
Run these three commands to turn off password expiration for all of your accounts.
connect-MSOLService -credential $cred
Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true
Exit 

Original quide:
http://community.spiceworks.com/how_to/show/38418-office-365-disable-password-expiration

P.S I got error message many times about  with Microsoft Online Services Sign-In Assistant for IT Professionals. Then I installed Beta version and everything worked.