Back to controls

Ensure account 'Lockout Threshold' is less than or equal to '10'

The account lockout threshold determines how many failed login attempts are permitted before the account is locked out and initiated with a variable lockout duration.

Category

Controls

Medium

Applies to

Microsoft Entra ID

Coverage

null controls, 1 queries

Asset types

1 covered

Overview

The account lockout threshold determines how many failed login attempts are permitted before the account is locked out and initiated with a variable lockout duration.

Rationale

Account lockout is a method of protecting against brute-force and password spray attacks. Once the lockout threshold has been exceeded, the account enters a lockout state that prevents all login attempts for a variable duration. The lockout, in combination with a reasonable duration, reduces the total number of failed login attempts that a malicious actor can execute in a given period of time.

Impact

If the account lockout threshold is set too low (less than 3), users may experience frequent lockout events, and the resulting security alerts may contribute to alert fatigue.

If the account lockout threshold is set too high (more than 10), malicious actors can programmatically execute more password attempts in a given period.

Default Value

By default, the Lockout threshold is set to 10.

Remediation guidance

Azure Portal

  1. Open the Security | Authentication methods | Password protection.
  2. Set the Lockout threshold to 10 or fewer.
  3. Click Save,

Multiple Remediation Paths

SERVICE-WIDE (RECOMMENDED when many resources are affected): Apply organization/tenant-level guardrails and baseline policies for the entire platform.

ASSET-LEVEL: Fix only the affected resources identified by this control.

PREVENTIVE: Add preventive policy checks to CI/CD and periodic posture scans.

References for Service-Wide Patterns

  • Platform policy/governance and preventive control patterns should be applied tenant-wide where supported.

Query logic

These are the stored checks tied to this control.

Entra tenants allowing too many login attempts

Connectors

Microsoft Entra ID

Covered asset types

Connector

Expected check: eq []

{
  connectors(where: { passwordRuleSettings: { lockoutThreshold_GT: 10 } }) {
    ...AssetFragment
  }
}
Cyscale Logo
Cyscale is an agentless cloud-native application protection platform (CNAPP) that automates the contextual analysis of cloud misconfigurations, vulnerabilities, access, and data, to provide an accurate and actionable assessment of risk.

Stay connected

Receive new blog posts and product updates from Cyscale

By clicking Subscribe, I agree to Cyscale’s Privacy Policy


© 2026 Cyscale Limited

LinkedIn icon
Twitter icon
Facebook icon
crunch base icon
angel icon