Select the product you need help with
How to configure user passwords to never expire in Office 365Article ID: 2666768 - View products that this article applies to. Not sure what release of Office 365 you're using? Go to the following Microsoft website: Am I using Office 365 after the service upgrade?
(http://office.microsoft.com/redir/HA103982331.aspx)
INTRODUCTIONThis article describes how to set user passwords never to expire in Microsoft Office 365. You can use the Windows Azure Active Directory Module for Windows PowerShell to set user passwords to never expire. Note This procedure does not apply to users who are enabled for single sign-on (SSO). This is because passwords for SSO-enabled users are managed in the on-premises environment. If you try to perform this procedure for an SSO-enabled user, you receive output that resembles the following in Windows PowerShell: Set-MsolUser : Unable to update parameter. Parameter name: PasswordPolicies. At line:1 char:13 + Set-MsolUser <<<< -UserPrincipalName jsmith@contoso.com -PasswordNeverExpires $true + CategoryInfo : OperationStopped: (:) [Set-MsolUser], MicrosoftOnlineException + FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.PropertyNotSettableException, Microsoft.Online.Administration.Automation.SetUser Note Only passwords for user accounts that are not synchronized through directory synchronization can be configured to never expire. PROCEDURECheck whether a password is set to never expireTo check whether a password is set to never expire, determine whether the PasswordNeverExpires setting is enabled or disabled for a user. To do this, follow these steps:
Configure a password to never expireTo set a user's password to never expire, enable the PasswordNeverExpires setting. To do this, follow these steps:
Configure a password to expireTo set a user's password to expire, disable the PasswordNeverExpires setting. To do this, follow these steps:
MORE INFORMATIONFor more information about how to manage Windows Azure AD by using Windows PowerShell, go to the following Microsoft website: Manage Windows Azure Active Directory by using Windows PowerShell
(http://aka.ms/aadposh)
PropertiesArticle ID: 2666768 - Last Review: May 17, 2013 - Revision: 17.0 Applies to
| Article Translations
|


Back to the top








