All Posts
Microsoft 365 1 View 11 min read

How to Configure Password Protection in Microsoft Entra

Last Updated July 24, 2026

Microsoft Entra Password Protection detects and blocks known weak passwords and their variants globally. In managed environments, configuring the custom banned password list and tuning smart lockout settings is a necessary step to defend against localized brute-force and targeted password spray attacks.

With the Microsoft Entra admin center, you can initialize this configuration centrally from the Authentication methods module. This guide walks through enabling custom password protection and defining lockout thresholds — including critical limits, propagation times, and smart lockout behavior you need to understand.

Why Configure Password Protection?

Controlling password parameters at the tenant level helps with:

  1. Brute-force defense: Smart lockout tracks failed sign-in attempts and locks out malicious actors while allowing legitimate users to continue working without being permanently locked out of their accounts.
  2. Industry-specific bans: The custom banned password list prevents users from choosing passwords that include your company name, local sports teams, or internal project codenames.
  3. Hybrid synchronization: If integrated with local Active Directory, these exact same cloud protections can be pushed down to on-premises domain controllers, ensuring unified password hygiene across both cloud and local environments.

What You Can and Cannot Change

Before configuring, understand the fixed password rules in Microsoft Entra ID:

SettingCan You Change It?Default / Fixed Value
Minimum password lengthNo8 characters
Maximum password lengthNo256 characters
Character complexity requirementNoThree of four types (lowercase, uppercase, numbers, symbols)
Consecutive repeating charactersNoNot allowed (e.g., ‘aaa’ is blocked)
Global banned password listNoEnabled by default. Microsoft updates this list regularly (typically monthly) based on telemetry from compromised passwords.
Custom banned password listYesUp to 1,000 terms, each 16 characters maximum
Smart lockout thresholdYes (P1 or higher required)Default: 10 failed attempts, 60-second lockout
Password expiration policyYesCan be set to never expire (requires separate configuration)

You cannot make passwords simpler or reduce Microsoft’s baseline complexity. You can only make them stronger by adding custom banned words and adjusting lockout behavior.

What You’ll Configure

You will access the Microsoft Entra admin center to navigate to the Authentication methods configuration and modify the Password protection properties.

To perform this action, your account must hold the Authentication Policy Administrator or Security Administrator role (Global Administrator also works but is broader than necessary).

Note: While the global banned password list is active by default for all tenants, configuring a custom banned password list and tuning smart lockout thresholds require an Entra ID P1 or P2 license, which is included in Microsoft 365 Business Premium, E3, and E5.

Step 1: Access Password Protection Settings

  1. Navigate to the Microsoft Entra admin center and log in with an account that has the Authentication Policy Administrator or Security Administrator role.
  2. On the left navigation pane, expand ProtectionAuthentication methods.
  3. Under the Policies section, click on Password protection.

Step 2: Configure Custom Banned Passwords

The custom banned password list blocks users from including specific words or patterns in their passwords. This list is limited to 1,000 terms, with each term having a maximum length of 16 characters. For longer terms, Microsoft automatically blocks common character substitutions, and the matching process is case-insensitive.

Example of term length in action: If you block the company name “ContosoCorporation” (19 characters), only the first 16 characters (“ContosoCorporat”) will be evaluated. It is better to use the shortened version or a unique acronym like “Ccorp” instead.

  1. Locate the Custom banned password section on the configuration page.
  2. Change the Enforce custom list toggle to Yes.
  3. In the Custom banned password list text box, enter strings specific to your organization (e.g., your company name, subsidiary names, or local cities), entering one term per line.
  4. (Optional) If you have a hybrid environment and have installed the Entra Password Protection proxy agents, toggle Enable password protection on Windows Server Active Directory to Yes.
  5. Click Save to apply the custom list.

Propagation Reality Check: Allow up to 60 minutes for the changes to fully propagate across all services. While the portal may show the setting as saved immediately, the actual enforcement across all global datacenters can take up to 60 minutes. Do not panic if a test password is accepted in the first 10 minutes.

Important: The custom list works alongside the global banned password list. You cannot remove or disable the global list — it is always active.

Step 3: Tune Smart Lockout Thresholds

Smart Lockout automatically locks an account after too many failed sign-in attempts. Unlike a simple lockout, it:

  1. Uses separate counters for familiar vs. unfamiliar sign-in locations: A “familiar” location is based on the user’s historical sign-in behavior. If a user travels to a new city, they are temporarily treated as “unfamiliar,” which might result in a lower lockout threshold.
  2. Tracks the last three bad password hashes: This prevents an attacker from locking out a user by repeatedly guessing the same wrong password. (Note: Trying 10 different wrong passwords will still trigger a lockout).
  3. Has lockout duration that increases with repeated attempts: The first lockout lasts 60 seconds, subsequent lockouts last longer.
  4. On the same Password protection page, locate the Smart lockout section.
  5. Set the Lockout threshold to define how many failed sign-ins are allowed before the account locks (the default is 10).
  6. Set the Lockout duration in seconds to define how long the initial lockout lasts before the user can try again (the default is 60 seconds).
  7. Click Save to commit the threshold changes.

Recommendation for Business Premium: The default settings (10 attempts, 60 seconds) work well for most small organizations. Lower thresholds (e.g., 5 attempts) may frustrate legitimate users who mistype their password. Only adjust if you have a specific security requirement or experience targeted attacks.

Step 4: Verify via PowerShell

Note: Changing the tenant policy applies tenant-wide, but you can use PowerShell to confirm your configuration.

  1. Open PowerShell 7.x or Windows PowerShell as an administrator.
  2. Install the Microsoft Graph module (if not already installed) by running:
PowerShell
Install-Module Microsoft.Graph -Scope CurrentUser
  1. Connect to your tenant with the necessary permissions:
PowerShell
Connect-MgGraph -Scopes "Policy.Read.All"

A browser window will open. Sign in with your administrator account and consent to the permissions.

  1. To check if the custom banned password list is enforced, run:

powershell

PowerShell
Get-MgPolicyAuthenticationMethodPolicy | Select-Object -ExpandProperty PasswordProtection

Look for the CustomBannedPasswords property and verify IsCustomBannedPasswordListEnabled is True.

Step 5: Test the Configuration

  1. Have a test user attempt to change their password to one that includes a term from your custom banned list (e.g., if you banned “Contoso”, have the user change their password to Contoso2026!).
  2. The user should receive an error message indicating the password contains blocked words.
  3. If you adjusted smart lockout settings, test by entering the wrong password for a test account multiple times (e.g., 11 attempts if your threshold is 10). After the threshold is exceeded, the account should be temporarily locked out.

Step 6: (For Hybrid Environments Only) Configure On-Premises Protection

If you have an on-premises Active Directory (i.e., users synced from local servers) and want to protect on-premises password changes, you must install the Entra Password Protection DC Agent and Proxy Service.

You can download the installers for both directly from the Password protection page in the Entra admin center. The essential requirements are:

  1. An Entra ID P1 license is present in your tenant (included in Business Premium).
  2. You install the Entra Password Protection DC Agent on your domain controllers.
  3. You install the Entra Password Protection Proxy Service to allow DCs to communicate with Entra ID.
  4. The feature must be set to Enabled in the Entra portal (under Password protection).

Note for cloud-only environments: If your organization does not have on-premises Active Directory servers, you can ignore this step entirely. The cloud protections are already active.

Troubleshooting: Configuration Not Applying?

SymptomMost Likely CauseWhat To Do
Custom banned list changes not blocking passwordsPropagation delayWait up to 60 minutes and test again. Entra ID settings do not apply instantly.
Users can still set passwords containing banned termsTerm length exceeds 16 charactersVerify each banned term is 16 characters or fewer. Shorten long terms.
Lockout seems inconsistent or allows more than threshold attemptsMulti-datacenter replicationEach datacenter maintains its own counter until sync occurs; you may see slightly more attempts before lockout. This is normal behavior.
“Smart lockout” section is disabled or read-onlyYour tenant lacks Entra ID P1/P2Verify you have Business Premium (which includes P1). The setting requires a premium license.
Hybrid on-premises passwords not being blockedProxy service not installed or configuredComplete the on-premises agent installation on your domain controllers. This is a separate deployment beyond the Entra portal.

Wrap-Up

You can configure Password Protection for your Microsoft 365 tenant by accessing the Authentication methods module in Entra ID and modifying the custom banned list and smart lockout parameters. Ensure you hold Authentication Policy Administrator or Security Administrator rights and have the necessary Entra ID P1 licensing (included in Business Premium) before starting.

Key takeaways for your Business Premium environment:

  1. The custom banned password list is limited to 1,000 terms, each with a maximum of 16 characters.
  2. Microsoft’s baseline password complexity (8 characters minimum, three of four character types, no consecutive repeats) cannot be changed.
  3. Smart Lockout uses location awareness and bad password hash tracking to distinguish legitimate users from attackers — it is not a simple fixed counter.
  4. Allow up to 60 minutes for configuration changes to apply across all services.
  5. On-premises protection requires separate agent installation on your domain controllers.

Use this configuration to block easily guessable, company-specific passwords and mitigate brute-force attacks, providing the essential perimeter defense required to secure your organizational identities.

Share this article:
Fast-Track Your Compliance

Need help with Aramco CCC Certification?

Get a Free Expert Consultation.

Aramco Kit

Ali Aljubaily

Cybersecurity Consultant

I am Ali Aljubaily, Founder of NHR Alemtithal and a certified engineer from Microsoft, holding the Microsoft Certified System Associate certification as well as the CompTIA Network+ certification.

Latest

Explore Our Blog Posts

Discover insightful articles on cybersecurity and more.

Aramco Cybersecurity Compliance 6 Views 4 min read

Aramco CCC Readiness: SACS-210 Gap Assessment

Is your SME ready for Aramco's CCC audit? Take our free 5-minute SACS-210 gap assessment to identify vulnerabilities and get...
Read more
Microsoft 365 7 Views 8 min read

How to Configure the Password Expiration Policy in Microsoft 365

Control organization-wide password lifecycle settings to align with modern identity security frameworks
Read more
Microsoft 365 9 Views 6 min read

How to Enable Unlicensed Admin Access in Microsoft Intune

Control administrator access to endpoint management without assigning dedicated Intune licenses
Read more

Our Certified Expertise and Technology Partnerships

We are certified partners with the world's leading cybersecurity vendors to deliver best-in-class solutions.

Microsoft
Microsoft
Certified Partner
Bitdefender
Bitdefender
Gold Partner
Fortinet
Fortinet
Authorized Partner
Acronis
Acronis
Certified Partner

Ready to Secure Your Business?

Our cybersecurity experts are here to help you achieve compliance and protect your digital assets with our 100% remote implementation model. Achieving compliance requires zero on-site field visits or internal IT hours. Contact us for a free, no-obligation assessment of your cybersecurity needs. We are committed to a 2-hour response time for all inquiries during business hours.

2-hour response time
Free consultation
Certified experts