Password Expiration Web Part
If the password never expires, the web part shows “Your password will never expire” with the account name.
![]()
If the administrator has set an expiration date for a user’s password, users will see this text:

If Password Change page is set in the fieldset (Security and Options), the web part also shows the link “To change your password, please use this link” to that page. The date is the one Active Directory computes for the user, including fine-grained password policies.
Password expiration in an on-premises Active Directory (AD) environment is configured by the administrator via Group Policy (GPO) in the Default Domain Policy, by setting the Maximum password age parameter under Account Policies to a specific number of days.
To e-mail users before their password expires, see Password expiry notifications.