Password Policy in Okta
A password policy is the rulebook that decides how strong passwords must be, how long they last, what happens after too many wrong tries, and how people recover a forgotten password. This guide explains it from zero, with analogies, diagrams, and real-world examples.
Think about the lock on the front door of a house. A good lock is hard to pick, but it also has to be easy enough for the family to use every day. If the key is too simple, a thief walks in. If the lock is so complicated that nobody can open it, the family starts leaving the door open. A password policy is the set of rules for that lock in the digital world. It decides how tricky the key must be, how often it is changed, what happens when someone keeps trying wrong keys, and how a person who lost their key gets back inside. In Okta, these rules are written down in one place and applied to the right people automatically.
1What Is a Password Policy in Okta?
It is a set of rules that controls how passwords behave for a group of people.
A simple definition
Okta is a cloud service that manages who people are and which applications they may use. This field is called Identity and Access Management, or IAM. In Okta, a person usually signs in with a password, and often a second proof as well. A password policy is a collection of settings that defines what an acceptable password looks like, how it is protected, and how it can be changed or recovered.
Rather than leaving each person to invent their own habits, the company sets the rules once. Okta then checks every new password against those rules. If someone tries to choose “123456”, Okta can refuse it. If someone enters the wrong password too many times, Okta can lock the account for a while. All of this behaviour comes from the password policy.
Think of the rules at a bank for choosing an ATM PIN. The bank may say the PIN must be a certain length, cannot be a simple pattern like 1111, and the card is blocked after three wrong tries. Those are the bank’s PIN rules. Okta’s password policy is the same kind of rulebook for work passwords.
What a policy is made of
A password policy has settings about strength, age, history, lockout, and recovery. It is applied to chosen groups of people, and it has a priority so that Okta knows which policy wins when more than one could apply. Every Okta organisation also comes with a default policy that covers anyone not matched by another policy.
2Why Do Password Policies Exist?
Because left alone, people choose short, predictable passwords, and attackers know it.
How people really choose passwords
Most people pick passwords that are easy to remember: a pet’s name, a birth year, a keyboard pattern, or a small change to an old password. They also reuse the same password across many sites. This is human nature, not stupidity, because remembering dozens of unique passwords is hard.
How attackers exploit this
Attackers do not sit and guess one password at a time. They use programs that try millions of common passwords against many accounts. They also take lists of leaked passwords from old breaches and try them on new sites, betting that people reused them. A weak password falls to these attacks very quickly.
What a policy achieves
A password policy lifts the floor. It prevents the worst choices, slows down guessing attacks through lockouts, reduces the damage of leaked passwords, and gives people a safe way to recover access without calling the help desk. It does not make a system perfectly safe, but it removes the easiest openings.
Guessing
Programs try common passwords on many accounts.
Credential stuffing
Leaked passwords from one site are tried on others.
Brute force
Attackers try huge numbers of combinations quickly.
Phishing
People are tricked into typing passwords on fake pages.
Shoulder surfing and sharing
Passwords are watched, shared, or written down.
Even a perfect password can be stolen through phishing. That is why password policies work best together with multi-factor authentication, which asks for a second proof beyond the password.
3Key Terms You Should Know First
A few words appear in every conversation about password rules. Learn them once and the rest is simple.
Password Policy
The overall rulebook for passwords, containing strength, age, history, lockout, and recovery settings.
Complexity
Rules about what a password must contain, such as upper and lower case letters, numbers, or symbols.
Minimum Length
The smallest number of characters a password may have.
Password Age
How old a password is. Rules can force a change after a certain age or forbid changing too soon.
Password History
A memory of recent passwords so people cannot simply reuse old ones.
Lockout
Temporarily blocking an account after too many wrong password attempts.
Self-Service Recovery
Letting people reset a forgotten password themselves, after proving who they are.
Authenticator
Any method used to prove identity, such as a password, phone app, or security key.
Imagine a clubhouse. Complexity is the rule that the door code cannot be a simple pattern. Minimum length is the rule that the code must have enough digits. Password age is the rule that the code is changed every so often. History is the rule that you cannot go back to last month’s code. Lockout is the rule that the keypad freezes after several wrong tries. Recovery is the way a member who forgot the code proves who they are and gets a new one.
In newer Okta setups, the password is treated as one authenticator alongside others like phone apps and security keys. Password rules therefore sit next to the settings for those other methods, and the sign-in rules decide when each is required.
4The Anatomy of an Okta Password Policy
A policy is built from a small number of clear parts. Understanding each one removes the mystery.
Part 1: The policy itself
The policy has a name and a description, and it is active or inactive. It decides which groups of people it applies to. Think of it as a labelled folder holding the rules.
Part 2: The settings
Inside the policy are the settings that shape passwords: how long, how complex, how old, how often changed, and how lockouts work. These are the main dials an administrator turns.
Part 3: The rules
A policy can also contain rules that apply in different situations. For example, one rule may describe what happens for people on the office network, and another may describe what happens for people elsewhere. Rules often decide how password recovery, password change, and account unlock behave.
Part 4: The scope and priority
A policy is applied to chosen groups. When an organisation has more than one policy, they are ordered by priority. Okta looks from the top, finds the first policy that applies to the person, and uses it. The default policy sits at the bottom as a safety net for everyone else.
flowchart TD
P[Password Policy] --> S[Settings: length, complexity, age, history]
P --> L[Lockout settings]
P --> R[Rules: recovery, change, unlock]
P --> G[Applies to chosen groups]
P --> PR[Priority order among policies]
A school has a general rulebook and some special rulebooks, such as one for the science lab and one for sports. Students follow the most specific book that applies to them, and the general book covers everything else. Okta policies and their priority work in just the same way.
5Strength Settings: Length and Complexity
These settings decide how hard a password is to guess. They are the most visible part of any policy.
Minimum length
Length is the single most useful strength setting. Each extra character multiplies the number of possible passwords, so a longer password is much harder to guess than a shorter one with the same mix of letters. Many modern security recommendations encourage longer passwords, such as long phrases, rather than short ones stuffed with symbols.
Complexity rules
Administrators can require a mix of character types: lowercase letters, uppercase letters, numbers, and symbols. They can also forbid the password from containing parts of the person’s username, first name, or last name. These rules stop the most obvious choices, though they can also push people toward predictable tricks like adding a number and exclamation mark at the end.
Blocking common passwords
Okta can check passwords against a list of very common ones and refuse them. This is a powerful setting because it blocks the passwords attackers try first, regardless of length or character mix. Many modern guidelines place more value on blocking known weak and leaked passwords than on strict complexity rules.
| Setting | What it does | Why it helps | Watch out for |
|---|---|---|---|
| Minimum length | Sets the smallest allowed length | More characters means far more combinations | Very long minimums can frustrate users without support |
| Character types | Requires mixes of letters, numbers, symbols | Removes very simple choices | Encourages predictable patterns |
| Name and username checks | Blocks passwords containing personal details | Stops obvious guesses | Does not stop other personal guesses |
| Common password check | Rejects passwords from a list of weak ones | Blocks the first things attackers try | Only as good as the list used |
A long rope is harder to cut through than a short thick one. In the same way, a long passphrase made of several ordinary words is often stronger and easier to remember than a short password packed with odd symbols.
Respected security guidance today generally favours longer passwords, blocking known-bad passwords, and fewer forced changes, over very strict complexity rules. When designing a policy, favour length and blocklists.
6Lifespan Settings: Age, Expiry, and History
These settings control how long a password lives and whether old ones may come back.
Maximum age (expiry)
An administrator can require that passwords expire after a number of days. When the time comes, the user must choose a new one. Okta can warn users some days before expiry so they are not surprised. For many years expiry every sixty or ninety days was standard, but current guidance questions it, because forced frequent changes lead people to make tiny, predictable edits to the old password.
Minimum age
A minimum age stops people from changing their password several times in a row to cycle back to an old favourite. It forces a gap between changes. This setting works together with history.
Password history
History tells Okta to remember a number of recent passwords and refuse to accept any of them again. Without history, a person told to change their password could just switch back and forth between two favourites.
The password is set
The person picks a new password that meets strength rules and is not in the remembered history.
The minimum age passes
Only after the minimum age may the person change it again, which prevents quick cycling.
A warning appears
If expiry is used, the user is warned some days before the password runs out.
The password expires
At maximum age, the person must pick a new password to continue.
A library card might be valid for a year, then must be renewed. A minimum age is like saying you cannot get a new card the day after getting one. History is like the librarian remembering that you cannot reuse a number you had last time.
When people are forced to change passwords too often, they start writing them down or making small predictable changes such as adding a number. This can make security worse. If you use expiry, choose a long period, and always pair it with other protections.
7Lockout Settings: Stopping Guessing Attacks
Lockout makes it painfully slow for attackers to try many passwords against one account.
How lockout works
An administrator sets a number of allowed failed sign-in attempts. When someone exceeds that number, Okta locks the account. After that, the account stays locked until it is unlocked by an administrator, by the user through self-service, or automatically after a waiting period, depending on how the policy is set.
Automatic unlock
Many organisations choose to unlock accounts automatically after some minutes. This stops attackers from guessing endlessly but also saves the help desk from constant unlock requests. The waiting period is a trade-off: a longer period slows attackers more but may annoy real users who simply mistyped.
Notifying the user
Okta can send an email to the user when their account is locked. This is helpful because an unexpected lockout may be a sign that somebody else is trying to sign in as them. A quick alert gives the person a chance to report it.
Allowed failures
How many wrong tries are allowed before locking.
Unlock method
Automatic after a delay, self-service, or by an administrator.
Lockout duration
How long the account waits before it opens again, if automatic.
User notification
Whether the user receives an email about the lockout.
If you enter the wrong PIN at an ATM three times, the machine keeps your card. A thief cannot sit there trying every number. Lockout gives every Okta account the same protection.
An attacker who knows a username can deliberately lock that account by typing wrong passwords, causing disruption. Balance strictness with the risk, and use monitoring to spot unusual patterns of lockouts across many accounts.
8Recovery Settings: Forgotten Passwords and Locked Accounts
People forget passwords every day. A good policy lets them recover safely without a phone call.
Self-service password reset
When a person forgets their password, they use a “forgot password” link. Okta first asks them to prove who they are using a method that has been set up in advance, such as a code sent to their email or phone, an approval on a phone app, or a security key. Only then can they choose a new password. This saves large amounts of help desk time.
Which recovery methods to allow
Not all recovery methods are equally safe. A code sent by text message can be intercepted. A reset link sent to a personal email is only as safe as that email account. Stronger methods such as a phone app or a hardware key are harder for attackers to abuse. Administrators choose which methods are allowed, and may allow weaker ones for ordinary staff but stronger ones for powerful accounts.
Unlocking accounts
Policy settings also decide how a locked account can be reopened. It may be allowed through self-service using a trusted method, or it may require an administrator. High-risk groups often need stricter paths.
sequenceDiagram
participant U as User
participant O as Okta
participant V as Verification Method
U->>O: Click forgot password
O->>U: Ask for proof of identity
U->>V: Use email, phone, or app
V->>O: Proof confirmed
O->>U: Allow new password
U->>O: Enter new password
O->>O: Check against policy rules
O->>U: Password changed
Attackers often skip guessing the password and go straight for the recovery path. A strong password with a weak recovery method is like a strong door with an unlocked window. Protect recovery as carefully as sign-in.
9Who Gets Which Policy? Groups and Priority
One organisation can have several password policies. Okta decides which one applies to each person.
Applying policies to groups
A password policy is attached to one or more groups of people. A company might create a stricter policy for administrators and a more relaxed one for general staff. People in the administrator group receive the strict rules, and everyone else receives the standard ones.
Priority decides conflicts
A person may belong to several groups, and several policies may target them. Okta solves this with a priority order. It checks policies from the top of the list, finds the first one that applies, and uses it. This is why the order of policies matters. A very specific policy should usually be placed above a broad one.
The default policy
Every organisation has a default password policy. It applies to anyone who is not covered by a higher-priority policy, and it cannot be removed. Many teams leave it as a sensible baseline and create extra policies only for groups that need something different.
flowchart TD
U[User signs in] --> Q1{In Admin Policy group?}
Q1 -->|Yes| A[Apply strict Admin policy]
Q1 -->|No| Q2{In Contractor Policy group?}
Q2 -->|Yes| B[Apply Contractor policy]
Q2 -->|No| C[Apply Default policy]
At an airport, a staff member checks whether you are a crew member, a first-class passenger, or an ordinary passenger, in that order, and sends you to the first matching line. Putting the lines in the right order matters, or crew would end up waiting in the ordinary queue.
If a broad policy is placed above a specific one, the specific policy may never apply. Always review the priority list after adding or changing policies and test with a sample user from each group.
10Where the Password Actually Lives: Okta or Another Directory
Not every password is checked by Okta. It depends on where the user’s account is mastered.
Okta-mastered users
Some users exist only inside Okta. For them, Okta stores the password in a protected form and applies its own password policy directly. All the settings in this guide apply to them in full.
Users mastered in another directory
Many companies already keep user accounts in another directory, such as Microsoft Active Directory or another identity source, and connect it to Okta. In these cases the original directory may remain the place where passwords are stored and checked. The rules of that directory then govern things like complexity and expiry, and Okta works with it rather than replacing it.
Why you must know which case you are in
If you change an Okta password policy and nothing seems to happen for some users, the likely reason is that their passwords are controlled elsewhere. Always find out where a person’s account is mastered before troubleshooting password behaviour.
| User source | Where password rules are enforced | What this means |
|---|---|---|
| Created in Okta | Okta password policy | You control all password rules in Okta |
| Mastered in another directory | Largely the source directory | Rules there may take precedence, so coordinate both |
| Passwordless sign-in | Not applicable for that sign-in | Policy still matters for fallback and recovery |
If your ID card is issued by your home city but you work in another city, the home city’s office decides how to renew it, even if the new city’s front desk checks it every morning. Okta may be the front desk, while the directory is the office that issued the card.
When two systems both have password rules, make them agree. Otherwise users get confusing error messages, such as a password that Okta accepts but the directory refuses.
11Passwords, MFA, and Going Beyond Passwords
A password policy is one layer. Modern security stacks several layers together.
Why MFA matters
Multi-factor authentication asks for at least two different kinds of proof, such as a password plus an approval on a phone. If a password leaks, the attacker still lacks the second proof. Security studies from large technology companies have repeatedly found that MFA blocks the vast majority of automated account takeover attempts. A password policy without MFA leaves the door only half protected.
Sign-in rules versus password rules
In Okta, password rules say what a good password looks like. Separate sign-in rules, often called authentication policies, say when a password alone is enough and when a second proof or stronger method is needed. The two work together: one makes the password solid, the other decides how much more to ask for.
The move toward passwordless
Many organisations are reducing their reliance on passwords. With passwordless sign-in, a person unlocks a trusted device using a fingerprint or face scan, and the device proves their identity without a password ever being typed. This removes whole classes of attack, such as phishing for passwords. Even then, password policies still matter for people who have not moved yet and for fallback and recovery paths.
Strong password
Set by the password policy, long and not common.
Second factor
A phone approval, code, or security key.
Risk-based rules
Extra checks when the device, place, or behaviour looks unusual.
Passwordless options
Passkeys and biometrics that reduce or remove password use.
A bank vault is protected by a thick door, a key, a guard, and cameras. No single item is trusted alone. Strong passwords are the thick door, MFA is the second key, and risk-based rules are the guard watching for strange behaviour.
12Designing a Sensible Policy Step by Step
A good policy starts with thinking about people and risk, not with ticking boxes.
Know your users and risks
Separate ordinary staff, administrators, contractors, and customers. Higher-risk groups deserve stricter rules.
Check where passwords are mastered
Find out which users are controlled by Okta and which by another directory, so you know what you can actually change.
Favour length and blocklists
Choose a generous minimum length and turn on the common password check before adding heavy complexity rules.
Decide on expiry thoughtfully
If you use expiry, pick a long period, set a warning, and avoid forcing frequent changes without a reason such as suspected compromise.
Set sensible lockout
Choose a small number of allowed failures, an automatic unlock delay, and an email notification to the user.
Secure the recovery path
Allow strong recovery methods, and be stricter for administrators and other powerful accounts.
Apply to groups and set priority
Attach each policy to the right groups and order them from most specific to most general.
Test, communicate, and roll out
Try the policy on a small group first, explain the change to users, and then widen it.
Add a clear description to each policy that says who it is for and why its rules were chosen. Future administrators will thank you.
13Monitoring, Reporting, and Troubleshooting
A policy is not finished when it is saved. You must watch how it behaves in real life.
What Okta records
Okta writes log entries when people sign in, fail to sign in, change a password, reset a password, get locked out, or get unlocked. These records help administrators see patterns, such as a sudden burst of failed sign-ins that may signal a guessing attack, or many lockouts in one day that may point to a confusing policy change.
Signals worth watching
Many failed sign-ins
A burst of wrong passwords on one or many accounts.
Spike in lockouts
Could be an attack or a policy that is too strict.
Unusual resets
Password resets from odd places or at odd times.
Help desk volume
A rise in password tickets after a change shows users are struggling.
Troubleshooting a user who cannot set a password
Find which policy applies
Check group membership and the priority order to know exactly which policy the user is under.
Compare the attempt to the rules
Look at length, complexity, history, and name checks to see which rule the new password failed.
Check the password source
If the user is mastered in another directory, the rule may come from there.
Read the logs
The records often show the exact reason a change was refused.
14Advantages and Trade-offs
Password policies bring real protection, but every rule carries a cost in convenience.
Advantages
- Blocks the weakest and most common passwords
- Slows guessing attacks through lockout
- Gives consistent rules across the whole company
- Lets different groups have rules that match their risk
- Reduces help desk work through self-service recovery
- Provides records that support audits and investigations
Disadvantages / Trade-offs
- Strict rules can frustrate users and push them toward unsafe habits
- Frequent forced changes lead to small predictable edits
- Lockout can be abused to disrupt someone’s account
- Passwords remain open to phishing, so a policy alone is not enough
- Rules controlled in another directory can conflict with Okta settings
Finding the balance
The central trade-off is between safety and ease. A policy so strict that people cannot cope will be bypassed. A policy so loose that anything is accepted protects nothing. The practical middle is a long minimum length, a blocklist of weak passwords, few forced changes, sensible lockout, strong recovery, and MFA as the main second layer.
15Design Patterns and Anti-patterns
Other organisations have already made the mistakes. You can learn from them.
Helpful patterns
Length first
Prefer a generous minimum length and passphrases over complicated character rules.
Block known-weak passwords
Turn on the common password check so the worst choices never get through.
Tiered policies
Stricter policy for admins, standard policy for staff, sensible baseline for the rest.
MFA alongside passwords
Never rely on the password alone for anything important.
Change on suspicion, not by calendar
Force a reset when a compromise is suspected rather than on a short fixed schedule.
Anti-patterns to avoid
Problem
Forcing everyone to change passwords every thirty days with heavy complexity rules.
Why It’s Harmful
People write passwords down or add a number at the end each month, making passwords predictable and weaker in practice.
Correct Approach
Use a long minimum length, a blocklist, MFA, and change passwords when there is a real reason.
Problem
Strong sign-in rules but weak recovery, such as allowing a reset by simple questions or only a text message for administrators.
Why It’s Harmful
Attackers go around the strong front door and use the weak recovery path to take over the account.
Correct Approach
Require strong verification for recovery, and be stricter for powerful accounts.
Problem
One policy for everyone, including administrators and ordinary staff alike.
Why It’s Harmful
Either administrators are under-protected or ordinary staff are over-burdened.
Correct Approach
Create tiered policies attached to groups and order them from most specific to most general.
Problem
Changing the Okta policy without checking whether users are mastered in another directory.
Why It’s Harmful
The change does not take effect for those users, causing confusion and a false sense of security.
Correct Approach
Identify the password source for each user group, and align rules in both places.
16Best Practices and Common Mistakes
A compact checklist for anyone designing or reviewing an Okta password policy.
Start from the baseline
Review the default policy first and improve it with length and a weak-password blocklist.
Pair every policy with MFA
Treat the password as the first layer, never the only one.
Keep administrators separate
Give powerful accounts stricter passwords, stronger recovery, and closer monitoring.
Make recovery safe and easy
Offer self-service with strong verification so people do not call the help desk or shortcut security.
Communicate changes
Tell users what is changing and why, with plain examples of good passphrases.
Review regularly
Check logs, lockout patterns, help desk tickets, and policy order on a schedule, and update guidance as standards evolve.
Setting very short expiry periods, relying only on complexity rules, forgetting the recovery path, putting policies in the wrong priority order, ignoring users mastered in another directory, and rolling out strict changes to everyone at once without testing.
Encourage people to use a long phrase of several unrelated words, to use a password manager approved by the company, and never to reuse a work password anywhere else.
17Password Policy in Real Life
Here are everyday scenes that show password policies at work.
A new employee chooses a first password
A new hire tries “Welcome123” and Okta refuses because it is on the common password list. The person then picks a long phrase of random words, which is accepted and is also easier to remember.
A forgotten password on a busy morning
A manager forgets their password before an important meeting. They click the forgot password link, approve a request on their phone app, and set a new password in a couple of minutes without calling anyone.
A guessing attack is slowed down
An attacker runs a program trying common passwords against one account. After a handful of failures, the account locks and the owner receives an email. The attacker is stopped and the security team is alerted.
Stricter rules for administrators
A company creates a separate policy for its administrator group with a longer minimum length, stronger recovery methods, and closer monitoring. Ordinary staff keep a lighter policy that is easier to live with.
A company with an older directory
An organisation keeps most employee passwords in an on-premises directory connected to Okta. Its administrators align the directory’s rules with Okta’s so that users receive consistent messages and no confusing refusals.
A move toward passwordless
A company rolls out device-based sign-in with fingerprints to most staff. The password policy remains as a fallback and for people who have not switched, with stronger recovery rules so the fallback is not the weak link.
Why this matters beyond security
Many laws and industry standards ask organisations to demonstrate sensible password controls and the ability to investigate incidents. A clear policy with records of sign-ins, lockouts, and resets gives auditors the evidence they look for.
18Frequently Asked Questions
A password policy defines what a password must look like and how it is managed. An authentication policy, sometimes called a sign-in policy, defines which proofs are required to access an app or sign in, such as a password plus a second factor. They work together.
Yes. You can create several policies, attach each to different groups, and order them by priority. The first matching policy in the list applies to a person, and the default policy covers everyone else.
Generally yes. Length multiplies the number of possibilities quickly, and long phrases are easier to remember than short strings full of symbols. Modern guidance prefers length plus a blocklist of known weak passwords.
Current guidance leans against frequent forced expiry, because it encourages predictable small changes. Many organisations use long expiry periods or none at all, and force a change when there is evidence of compromise. Choose according to your risk and any rules you must follow.
It makes Okta remember a number of recent passwords and refuse them if the person tries to reuse them. It prevents simply flipping between a couple of favourite passwords.
The person cannot sign in until the account is unlocked. Depending on policy, it may unlock automatically after a delay, through self-service with a trusted method, or by an administrator. Okta can also email the user about the lockout.
Common reasons are that a higher-priority policy applies to them, they are not in the groups you targeted, or their passwords are mastered in another directory whose rules govern. Check group membership, priority order, and the password source.
Stronger methods include an approval from a phone app and a hardware security key. Codes sent by text message or links sent to personal email are weaker. Allow weaker methods only where the risk is low, and be stricter for powerful accounts.
Not for the passwordless sign-in itself, since no password is typed. However, the policy still matters for people who still use passwords and for fallback and recovery paths, so it should not be neglected.
Yes. Administrators can require a user to change their password, for example after a suspected compromise. This is the reason many modern setups prefer forced changes on suspicion instead of on a fixed calendar.
No. Passwords can still be stolen through phishing or reused elsewhere. A password policy is one layer, and it works best with multi-factor authentication, risk-based sign-in rules, monitoring, and user education.
Use a test organisation. Create a simple policy for a small test group, try setting passwords that break each rule, trigger a lockout with a test user, and walk through the recovery flow. Seeing each rule’s effect builds understanding quickly.
19Summary and Key Takeaways
A password policy in Okta is the rulebook that decides how strong passwords must be, how long they last, what happens after repeated mistakes, and how forgotten passwords are recovered. It is attached to groups of people and ordered by priority, with a default policy as the safety net. The best policies favour length and blocklists over heavy complexity, avoid needless forced changes, set sensible lockout, protect the recovery path, and always work together with multi-factor authentication. If you remember the front-door lock from the beginning, you already hold the main idea: a lock should be hard for thieves and easy for the family.
Key Takeaways
- A policy is a rulebook for passwords — it covers strength, age, history, lockout, and recovery for the people it applies to.
- Length and blocklists beat heavy complexity — a long phrase plus a check against common passwords is stronger and kinder than strict symbol rules.
- Be careful with forced expiry — frequent changes lead to predictable edits, so prefer long periods or change on suspicion.
- Lockout slows attackers — set a small number of allowed failures, an automatic unlock delay, and an email alert to the user.
- Protect the recovery path — a strong password with weak recovery is a locked door beside an open window.
- Groups and priority decide who gets which policy — attach policies to groups, order them from specific to general, and rely on the default as a baseline.
- Passwords are only one layer — combine the policy with MFA, risk-based rules, monitoring, and a move toward passwordless where possible.