Password Protection
Ensures the tenant Password Protection are configured with secure lockout thresholds, lockout duration, and banned password enforcement to protect against brute-force and credential-stuffing attacks
Settings this baseline controls
| Setting | What it does |
|---|---|
| On-premises check mode | Specifies the mode for the on-premises banned password check. Can be Audit or Enforce. Learn more |
| On-premises protection enabled | Enables the on-premises banned password check. Learn more |
| Custom list enforced | Enables the cloud banned password check. Learn more |
| Lockout duration seconds | The minimum length in seconds of each lockout. If an account locks repeatedly, this duration increases. Learn more |
| Lockout threshold | How many failed sign-ins are allowed on an account before its first lockout. If the first sign-in after a lockout also fails, the account locks out again. Learn more |
| Custom banned passwords | A list of words, one per line, to prevent your users from using in their passwords. You should include words specific to your organization, such as your products, trademarks, industries, local cities and towns, and local sports teams. Your list can contain up to 1000 words. These are case insensitive, and common character substitutions (o for 0, etc) are automatically considered. Learn more |
Configure it
This baseline sets Microsoft Entra’s account-lockout thresholds and banned-password checking to Octiga’s recommended values.
-
Add the baseline to the tenant directly (Adding a baseline) or through a scheme (Deploying a scheme).
-
Under Account lockout, leave Lockout threshold at 10 and Lockout duration in seconds (the settings table calls it Lockout duration seconds) at 900, which is 15 minutes. Microsoft’s own defaults are 10 attempts and 60 seconds, so the baseline keeps a brute-force attempt locked out for longer, and the lockout lengthens automatically if the same account keeps failing. The editor accepts a threshold of 1 to 50 and a duration of 5 to 18,000 seconds.
-
Under Banned password protection, leave Enforce custom list (Custom list enforced in the table) off unless your organisation wants to ban specific words, such as your MSP’s name, a client’s brand or local terms. Turning it on shows Custom banned password list (Custom banned passwords), which then needs at least one word: type each word and press Enter.
-
The baseline starts with Enable password protection on Windows Server Active Directory (On-premises protection enabled) on and On-premises protection mode (On-premises check mode) set to Enforce, on every tenant. That suits a tenant that syncs passwords from an on-premises Active Directory, because the banned-password check then blocks a weak password rather than only logging it. While the toggle is on, the baseline requires these settings and remediation switches them on. A cloud-only tenant that doesn’t want them can turn the toggle off on a baseline added to the tenant directly (a baseline a scheme supplies is changed in the scheme).
-
Select Save. If the tenant has never saved its Password protection settings in Microsoft Entra, remediation creates them. Automatic remediation never affects an account that’s already locked out. To turn it on, switch on Auto on the baseline’s row; it acts only while the tenant’s Allow auto-remediation setting is on (Tenant settings).
Check it worked
Passing means Entra ID → Authentication methods → Password protection shows the lockout threshold and duration the baseline holds (10 and 900 seconds unless you changed them), with the custom list and on-premises settings matching it. Users notice nothing unless they mistype their password repeatedly (a temporary lockout) or try to set a weak or banned password (a rejection at the point of change).
Standards this addresses
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.