Back to controls

Ensure account 'Lockout duration in seconds' is greater than or equal to '60'

The account lockout duration value determines how long an account retains the lockout status and, therefore, how long before a user can continue to attempt to log in after passing the lockout threshold.

Category

Controls

Medium

Applies to

Microsoft Entra ID

Coverage

1 queries

Asset types

1 covered

Overview

The account lockout duration value determines how long an account retains the lockout status and, therefore, how long before a user can continue to attempt to log in after passing the lockout threshold.

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, combined with a reasonable duration, reduces the total number of failed login attempts that a malicious actor can execute in a given period.

Impact

If the account lockout duration is too low (less than 60 seconds), malicious actors can perform more password spray and brute-force attempts over a given period.

If the account lockout duration is too high (more than 300 seconds), users may experience inconvenient delays during lockout.

Default Value

By default, Lockout duration in seconds is set to 60.

Remediation guidance

Azure Portal

  1. Open the Security | Authentication methods | Password protection.
  2. Set the Lockout duration in seconds to 60 or higher.
  3. Click Save,

Service-wide remediation

Recommended when many resources are affected: fix the platform baseline first so new resources inherit the secure setting, then remediate the existing flagged resources in batches.

Microsoft Entra ID

Use tenant-wide Conditional Access, role settings, authentication policies, and identity governance baselines so the control is enforced centrally.

Operational rollout

  1. Fix the baseline first at the account, subscription, project, cluster, or tenant scope that owns this control.
  2. Remediate the currently affected resources in batches, starting with internet-exposed and production assets.
  3. Re-scan and track approved exceptions with an owner and expiry date.

Query logic

These are the stored checks tied to this control.

Entra tenants with low lockout duration

Connectors

Microsoft Entra ID

Covered asset types

Connector

Expected check: eq []

{
  connectors(where: { passwordRuleSettings: { lockoutDurationInSeconds_LT: 60 } }) {
    ...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