Home > Microsoft Dynamics, Uncategorized > Removing password expiration for 0365/CRM online.

Removing password expiration for 0365/CRM online.

January 24, 2015 Leave a comment Go to comments

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.

  1.   In the first step, installation of the Microsoft Online Services Sign In assistant is done.
  2.   The second step involves the installation of Azure Active Directory module for Windows PowerShell. This is applicable for 64-bit version.
  3.   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

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: