Does DisablePasswordExpiration override tenant password expiration policy in Entra ID?

RB 0 Reputation points
2026-03-25T12:02:52.5466667+00:00

In EntraID,

  1. If a user account has PasswordPolicies set to DisablePasswordExpiration, will changing the tenant-wide password expiration policy to 365 days override that per-user attribute?
  2. what if you set "PasswordPolicies = DisablePasswordExpiration" first and then set the tenant-wide password expiration policy to 365 days, will the latter override the DisablePasswordExpiration?
Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. AI answer

    2026-03-25T12:03:05.9433333+00:00
    1. No. The per-user PasswordPolicies = DisablePasswordExpiration setting is not overridden by changing the tenant/domain-wide password expiration policy (for example, to 365 days). The domain-level policy controls the maximum password age for accounts that are subject to expiration, but DisablePasswordExpiration explicitly prevents that user’s password from expiring. The documentation states that:
      • Password expiry duration (maximum password age) is configured per domain via Update-MgDomain -PasswordValidityPeriodInDays.
      • “Password expiry (Let passwords never expire)” is configured per user via Update-MgUser -PasswordPolicies DisablePasswordExpiration.
      These are separate controls: the domain policy defines the general expiration window; the per-user DisablePasswordExpiration flag exempts that user from expiration.
    2. The order does not change the behavior. If PasswordPolicies = DisablePasswordExpiration is set on a user first, and then the tenant/domain password expiration policy is changed (for example, from 90 to 365 days), the per-user DisablePasswordExpiration still applies and the user’s password does not expire according to the domain maximum age. To make such a user subject to the tenant/domain expiration policy, the DisablePasswordExpiration value must be removed from the user (for example, Update-MgUser -PasswordPolicies None or equivalent Set-EntraUser usage).

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.