The maximum password expiration period which is configurable by using office 365 administration portal is approximately 2 years. You will have to consider using PowerShell tools if you want to use 0365/CRM online for more than two years.
The instruction given below can be applied to Windows 8 (64-bit operating system) and is the shortened version of managing Azure AD by employing Windows PowerShell.
- In the first step, installation of the Microsoft Online Services Sign In assistant is done.
- The second step involves the installation of Azure Active Directory module for Windows PowerShell. This is applicable for 64-bit version.
- After installing Azure Active Directory, start Windows PowerShell and enter the following command:
Connect-MsolService
Set-MsolUser
– UserPrincipalName <user ID>
-PasswordNeverExpires $true
# The line given below will do it for all the account holders on the system.
Get-MSOLUser | Set-MsolUser
-PasswordNeverExpires $true
Leave a comment