Why leaked credential detection matters for SMB tenants
Stolen usernames and passwords circulate constantly on the dark web, in breach dumps, and through other underground channels. If one of your users reused a password that later leaked somewhere else, an attacker could sign in to your Microsoft 365 tenant using perfectly valid credentials — no phishing or malware required. Microsoft Entra ID Protection includes a detection specifically built for this scenario.
Here’s how to see the detection in Entra ID Protection, set up user risk notifications, and respond when a password is confirmed as leaked.
How the leaked credentials detection works
According to Microsoft’s Entra ID Protection FAQ, Microsoft runs a large-scale credential scanning pipeline that continuously gathers compromised credential pairs from multiple sources, including dark web forums, breach dump repositories and paste sites, law enforcement-shared databases, Microsoft’s own threat intelligence and Digital Crimes Unit research, and intelligence sharing with industry partners.
When new leaked credentials are discovered, they are ingested and processed in multiple batches per day. Microsoft’s documentation states that the service receives the actual credential pair — including the password itself — and checks it against your tenant’s current valid password hashes. A detection is only generated when the leaked credential is confirmed to match a user’s current password, which is what makes this a high-fidelity signal rather than a probabilistic one.
Two details worth noting from the documentation:
- Plaintext passwords are not stored at any point, and discovered credential data is deleted shortly after processing.
- When a match is confirmed, Entra ID Protection flags the affected user with high risk, because the detection represents verified credential exposure rather than a heuristic guess.
Microsoft’s documentation also notes that Microsoft Defender for Identity can surface leaked credential detections for on-premises passwords, extending this signal beyond cloud-only scenarios — though the FAQ does not go into further detail on that integration.
Requirements for the detection to actually work
The documentation is explicit that this detection depends on password hashes being present in Microsoft Entra ID:
- Risk detections like leaked credentials require password hashes to be available for the matching process to occur.
- For hybrid users, password hash synchronization (PHS) must be enabled before the detection can work at all.
- Only credentials discovered after PHS is enabled are checked against your tenant. Previously discovered leaked credential pairs are not retroactively checked once you turn PHS on.
In practical terms, if you run a hybrid environment and haven’t enabled password hash sync, you won’t see leaked credential detections for your hybrid users — not because none exist, but because the detection mechanism has nothing to validate them against. Microsoft’s documentation lists this, along with simply not having any matching leaked pairs found, as the two reasons an admin might not see any leaked credential events in their tenant.
Licensing: what tier do you need?
The leaked credentials detection itself is nonpremium. Licensing affects what admins can see in risk reports and whether they can automate a response:
- With a Microsoft Entra ID Free license, you get limited information in the risky sign-ins report.
- With Microsoft Entra ID P2 or the Microsoft Entra Suite license, you get full access to risk reports, including detail on detections like leaked credentials.
- Microsoft Entra ID P2 is required to use risk-based access policies — the Conditional Access policies that can automatically enforce actions (such as requiring a password change or blocking access) when user risk or sign-in risk is detected.
Microsoft’s documentation also notes that Entra ID Protection draws on signals from Microsoft Defender products, which are licensed separately.
A separate detection for workload identities
It’s worth distinguishing user-account leaked credential detection from a related but separate capability: leaked credential detection for workload identities (applications and service principals, not human users). Microsoft’s documentation describes a “Leaked Credentials” risk detection for workload identities that fires when an account’s valid credentials appear in places like public GitHub repositories, the dark web, or paste sites.
For this workload identity detection, the documentation states that full risk details and risk-based access controls require Workload Identities Premium licensing — but customers without that license still receive all detections, just with limited reporting detail. This is a distinct licensing track from Entra ID P2 and applies to application/service principal identities, not user accounts, so don’t assume it substitutes for user-focused leaked credential protection.
Where to see detections and configure email alerts
Use Risky users and Risk detections in the Microsoft Entra admin center. To get an email when a user reaches a configured risk threshold, go to ID Protection > Dashboard > Users at risk detected alerts. The Security Administrator role can configure the alert. Microsoft also documents a weekly digest.
These emails are based on overall user risk; they are not a subscription to the leaked credentials detection alone. Open the user’s risk details to see what triggered the alert. Treat workload identity risk separately and use the Risky workload identities report when investigating an app or service principal.
Documented response steps when leaked credentials are detected
For user accounts, Microsoft’s documentation describes a fairly clear remediation path once a leaked credential detection fires:
- Cloud-based password reset. A cloud-based password reset through Microsoft Entra fully remediates the user risk generated by a confirmed leaked credential detection.
- Risk-based Conditional Access enforcement (requires Entra ID P2). Administrators can configure a “Require risk remediation” grant control in Conditional Access. For password-based authentication, when a risky user has an active detection such as a leaked credential, the user is prompted to perform a secure password change, and their previous sessions are revoked once that’s completed.
- Hybrid environment considerations. In hybrid environments, a secure password change (MFA plus password change) can remediate user risk, and this doesn’t require self-service password reset (SSPR) to be enabled. However, for hybrid users on on-premises or hybrid-joined Windows devices, password hash sync must be enabled for this to work. Microsoft’s documentation also mentions an option to allow on-premises password changes to remediate user risk, so that a password change made outside the cloud still clears the risk flag.
- Autoremediation behavior. Low user risk autoresolves after six months without any further risk elevation. Medium or high risk — which is what a confirmed leaked credential detection produces — does not autoresolve on its own; it requires either a risk-based policy enforcing remediation or manual admin dismissal.
For workload identities (applications/service principals)
If the detection fires against a workload identity rather than a user account, the documented remediation steps are different and focus on credential rotation rather than password reset:
- Inventory any credentials assigned to the affected service principal or application object.
- Add a new credential — Microsoft’s documentation recommends using x509 certificates.
- Remove the compromised credentials; if the account is believed to be at risk, remove all existing credentials.
- Rotate any Azure Key Vault secrets the service principal has access to.
Admins can also choose to confirm the account as compromised or disable the service principal entirely from the Risky workload identities report, which blocks further sign-ins.
Practical recommendations for SMB admins
The following suggestions go beyond what’s explicitly documented in the supplied sources, but are consistent with the described mechanics. They are practical guidance, not Microsoft requirements:
- Enable password hash sync if you run a hybrid environment. Without it, leaked credential detection simply has nothing to validate against for your hybrid users.
- Evaluate whether Microsoft Entra ID P2 fits your tenant. If you want automated enforcement (forcing a password change or blocking access when a leaked credential is detected) rather than relying purely on manual review, P2-backed risk-based Conditional Access policies are the documented mechanism for that.
- Set up risk notifications and review the reports. Route the risk emails to the team responsible for responding and confirm the underlying detection in Entra before choosing a remediation step.
- Exclude B2B guest users from risk-based policies if appropriate. Microsoft’s FAQ notes that risk evaluation and remediation for B2B collaboration users happens in their home directory, so your own risk-based Conditional Access policies won’t apply to them the same way — grouping and excluding guest accounts avoids unexpected blocks.
- Don’t confuse workload identity and user account remediation. If you operate service principals or applications with secrets, remember that leaked credential detections for those identities require credential rotation, not a password reset, and may depend on separate Workload Identities Premium licensing for full detail.
Conclusion
A confirmed leaked password is a high-risk signal. Use the detection details to confirm the cause, follow your password remediation process, and configure user risk emails so the team knows where to look when risk is elevated. In hybrid environments, check that password hash sync is in place.