If you are lucky enough to be using Microsoft Office 365 you will notice that the default password expiration time-out is set to 90 days and you will be notified 14 days before the expiration date.
If you feel this option is not a business requirement or if it is an outright hassle to be changing your password every 90 days, there is a solution.
Unfortunately you can’t disable this feature directly from your OWA panel, you will require to download and install
Check whether a password is set to never expire
To 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:
- Start the Windows Azure Active Directory Module for Windows PowerShell.
- Connect to Windows Azure Active Directory (Windows Azure AD) by using Windows PowerShell. For more info about how to do this, go to the following Microsoft website:
Connect to Windows Azure AD Using Windows PowerShell
- Run the following cmdlet by using the user principal name (UPN) or the user ID of the user whom you want to check:
Get-MSOLUser -UserPrincipalName <user ID> | Select PasswordNeverExpires
Or, to see all users and their PasswordNeverExpires setting, run the following cmdlet:
Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires
Configure a password to never expire
To set a user’s password to never expire, enable the PasswordNeverExpires setting. To do this, follow these steps:
- Start the Windows Azure Active Directory Module for Windows PowerShell.
- Connect to Windows Azure AD by using Windows PowerShell. For more info about how to do this, go to the following Microsoft website:
Connect to Windows Azure AD Using Windows PowerShell
- Run the following cmdlet by using the UPN or the user ID of the user to configure the password to never change:
Set-MsolUser -UserPrincipalName <user ID> -PasswordNeverExpires $true
Note If you want to change the setting for all the users in a company, run the following cmdlet:
Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true






Leave a Reply
You must be logged in to post a comment.