Skip to content

Password Policy

ScopeTenantRoleL1 Read to view · L1 Read/Write to act

The Domain Password Policy enforces password expiration and complexity requirements to enhance account security. It defines how long passwords remain valid, when users are notified of upcoming expiration, and helps protect against unauthorized access by requiring regular password changes and strong password practices.

Settings this baseline controls

SettingWhat it does
Expiry warning windowSpecifies the number of days before a user receives notification that their password will expire. If the property is not set, a default value of 14 days will be used. Learn more
Password validity periodSpecifies the length of time that a password is valid before it must be changed. If the property is not set, a default value of 90 days will be used. Learn more
Adding a baselineAdd, configure or remove a single baseline on a tenant, a user or a group, without deploying a whole scheme.

Configure it

Add this to the tenant, or through a scheme, wherever you want cloud passwords to expire on a schedule instead of following Microsoft’s default of never expiring.

  1. Add the baseline to the tenant directly (Adding a baseline) or through a scheme (Deploying a scheme).

  2. Set Password validity period to 365 days, so users change their password once a year rather than never.

  3. Set Expiry warning window to 14 days, so users are warned in good time before their password stops working rather than being surprised at sign-in.

  4. Save. Auto-remediation is safe here: it only reapplies the same two values if someone changes them in Microsoft 365.

Check it worked

Passing means Microsoft 365 admin centre → Settings → Org settings → Security & privacy → Password expiration policy shows expiry set to 365 days with a 14-day warning, for every domain in the tenant. Cloud-only users start seeing a password-expiry warning about two weeks before they have to change it.

Standards this addresses

CISM365 1.3.1v8 5.2
NISTPR.AC-4IA-5AC-2
ISO 27001A.5.17A.8.6
GDPRArticle 32

Doing this for every tenant?

Step through the deploy wizard to apply a scheme to a tenant, groups or users, and see what Managed and Direct do at deploy time.