Join our Newsletter — 33% off our NHI Course
Home› Guides› Entra ID Protection Leaked Credentials Detection: What Triggers…
Guide Identity Visibility, Posture & Threat Detection

Entra ID Protection Leaked Credentials Detection: What Triggers It and What to Do

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 12 min read
On this page

When a user's valid password turns up in a breach dump or on a paste site, an attacker can sign in as that user without phishing anyone, and Microsoft Entra ID Protection's leaked credentials detection exists to tell you before that happens. The detection raises user risk when Microsoft finds credential material that matches a current, valid password in your tenant. This guide explains what triggers it, why password hash synchronisation matters for hybrid users, how the detection feeds risk-based Conditional Access, and the investigation and reset steps a SOC analyst should follow. It also covers the separate leaked credentials detection for workload identities. It is written for Entra ID administrators and SOC analysts; for the wider product, see the Microsoft Entra ID Protection guide.

This is an independent guide from NHI Mgmt Group, based on Microsoft's public documentation as of November 2026. It is not sponsored or reviewed by Microsoft. Product features change, so confirm settings against Microsoft's current documentation.

Key takeaways

  • It is a confirmed match, not a guess. Microsoft checks found credential material against the tenant's current valid password hashes and raises a detection only on a confirmed match, so the risk level is always High.
  • Hybrid users need password hash sync. For passwords mastered in on-premises Active Directory, the detection depends on password hash synchronisation (PHS) through Microsoft Entra Connect.
  • Only a password change fully fixes it. A secure password change, self-service through a user risk policy or forced by an administrator, remediates the risk; dismissing it leaves the exposed password in use.
  • Policy turns detection into action. A Conditional Access policy with the user risk condition set to High and the Require risk remediation grant control lets users fix their own risk after MFA.
  • Service principals have their own version. Leaked client secrets found in public code or breach data raise a workload identity detection, remediated by credential rotation rather than a password reset.

What the detection is

Microsoft's risk detection reference describes leaked credentials as indicating "that a user's valid credentials appeared in a known credential breach". Its properties are fixed:

PropertyValue
Detection nameLeaked credentials
riskEventTypeleakedCredentials
Risk typeUser risk
Detection timingOffline (raised after the event, not during a sign-in)
Risk levelAlways High
Detection categoryNonpremium
Prerequisite for on-premises passwordsPassword hash synchronisation

Because it is a user risk detection, it raises the probability that the account is compromised, independent of any individual sign-in. It does not mean someone has used the password yet. It means the password is known outside your organisation and an attacker could use it for credential stuffing (ATT&CK T1110.004) or a direct valid-account sign-in (T1078.004 Cloud Accounts).

What triggers it

Microsoft describes a large-scale credential scanning pipeline that continuously monitors dark web forums, breach dump repositories, paste sites, law enforcement seizure data and other sources, through partnerships with the Microsoft Threat Intelligence Center, the Microsoft Digital Crimes Unit and industry partners. When credentials are found, the service checks the credential material against the tenant's current valid password hashes and emits a detection only when there is a confirmed match.

That validation step explains several behaviours admins often ask about:

  • Old passwords do not trigger it. If the user changed their password before the leaked pair was found, there is no match against the current hash and no detection.
  • Timing is not real time. The detection is offline, so it can appear hours or days after the leak became public, and long after the original theft. Microsoft does not publish a scan frequency.
  • Reused passwords count. A password stolen from an unrelated website matches if the user reused it for their work account. The source breach need not involve your organisation.
  • Infostealer logs are a common source. Credentials harvested by infostealer malware end up in the same dumps and markets. For the response beyond Entra, see the Infostealer Logs Monitoring and Response Guide.

Requirements

Password hash synchronisation

Microsoft lists password hash synchronisation as the prerequisite for on-premises passwords. Without a hash in Entra ID there is nothing to compare leaked credentials against. Cloud-only accounts already hold their password hash in Entra ID. For hybrid identities, Microsoft Entra Connect's PHS process runs every 2 minutes and cannot be changed. It reads the MD4 hash from a domain controller, adds a per-user 10-byte salt and passes it through PBKDF2 with 1,000 iterations of HMAC-SHA256 before sending the result to Entra ID over TLS; the original MD4 hash is not sent.

  • Managed (cloud) authentication with PHS: the detection works and users authenticate against Entra ID.
  • Federated domains or pass-through authentication: enable PHS alongside them. Microsoft documents PHS as usable as a fallback if the federation service has an outage, so turning it on also supports continuity.
  • Enabling: express settings in Entra Connect turn PHS on automatically; with custom settings it is an option on the user sign-in page of the installer.

Availability

Microsoft lists the leaked credentials detection as nonpremium, available with Microsoft Entra ID Free or P1. Risk-based Conditional Access policies require Microsoft Entra ID P2, and full ID Protection features require P2 or Microsoft Entra Suite. Risk-based Conditional Access for workload identities requires Workload Identities Premium. Confirm current licensing on Microsoft's pages before planning.

Roles

TaskLeast-privileged role (Microsoft)
Dismiss user riskSecurity Operator
Reset passwordsUser Administrator
Create or edit risk-based policiesSecurity Administrator
Create or edit Conditional Access policiesConditional Access Administrator
Export risk data through diagnostic settingsSecurity Administrator
Generate a temporary password from ID ProtectionSecurity Operator and User Administrator together

Responding to a detection

Automatic response through policy

Microsoft recommends a Conditional Access policy that selects Require risk remediation when user risk is High. For a user with a password, the leaked credential case, the user completes MFA and is then prompted for a secure password change, and previous sessions are revoked. Selecting Require risk remediation also applies Require authentication strength and Sign-in frequency set to Every time automatically. The user's risk state then changes to Remediated with the detail "User performed secured password reset".

Microsoft's documented steps for the policy:

  1. Sign in to the Microsoft Entra admin center as at least a Conditional Access Administrator and create a new Conditional Access policy.
  2. Include All users and exclude emergency access accounts.
  3. Target All resources.
  4. Under Conditions, set User risk to High.
  5. Grant access with Require risk remediation and choose an authentication strength.
  6. Create the policy in Report-only mode, review its impact and investigate active risks, then switch it to On.

Note the dates: Microsoft states that the legacy ID Protection user risk and sign-in risk policies retire on 1 October 2026, so tenants still on them should move to Conditional Access. If a user is assigned several user risk policies, Block overrides all others and Require risk remediation overrides Require password change, so assign each user to only one. For policy design in general, see the Conditional Access Guide.

Manual investigation

Microsoft's investigation guidance treats leaked credentials as urgent because they confirm exposure. A practical sequence based on it:

  1. Scope the exposure. Open the user in Risky users and review risk history and sign-in logs. Look for correlated sign-in risk such as unfamiliar locations, anonymous IP addresses or atypical travel.
  2. Check whether the password has changed. If a cloud password reset triggered by the user risk policy has happened, the risk may already be remediated. If not, confirm the user compromised and start a reset.
  3. Contain active misuse. If logs show unauthorised access, or an attacker could reset the password or satisfy MFA, block the user, reset the password and revoke all refresh tokens.
  4. Look for post-compromise activity. Review recent privilege changes, new app registrations, mailbox rule changes and access to sensitive resources.
  5. Address reuse. Advise the user to change the same password anywhere else they used it.

The full account investigation workflow is in How to Investigate a Compromised Entra ID Account.

Administrator actions and their effect

ActionResulting risk stateWhen to use
Generate temporary passwordRemediated; user must change password at next sign-inUser cannot self-remediate, for example not registered for MFA
Require password changeRemediated after the user completes MFA and a secure password changeUser is registered for MFA and you want a guided fix
Confirm compromisedConfirmed compromisedEvidence of misuse: follow with password change, block, refresh token revocation, device disablement and CAE token revocation as needed
Dismiss riskDismissed; password unchangedOnly where investigation shows the credential is no longer valid or the detection does not apply

Hybrid users

Two settings decide whether hybrid users can fix the risk themselves:

  • Allow on-premises password change to reset user risk: under ID Protection settings, this opt-in setting lets a password change in on-premises AD remediate user risk. It requires PHS. Microsoft recommends securing the on-premises change process, for example with MFA.
  • Password writeback: Microsoft's risk policy guidance states that hybrid users need password writeback enabled for self-remediation; otherwise they are blocked and need administrator help.

Generating a temporary password for a hybrid user from ID Protection has further prerequisites in Microsoft's documentation, including PHS, the on-premises reset setting and SSPR, so test it before you need it.

Leaked workload identity credentials

The workload identity detection, also leakedCredentials and offline, indicates that an application's valid credentials have leaked, for example committed to a public GitHub repository or exposed in a data breach. It covers single-tenant, non-Microsoft SaaS and multitenant apps; managed identities are not currently in scope. Find affected apps in ID Protection under Risky workload identities, or the Workload identity detections tab of Risk detections. Microsoft's remediation steps:

  1. Inventory all credentials on both the service principal and the application object.
  2. Add a new credential; Microsoft recommends x509 certificates.
  3. Remove the compromised credentials, or all existing credentials if the account is at risk.
  4. Rotate any Azure Key Vault secrets the service principal can access.

Use Disable service principal to stop further sign-ins during investigation. User risk policies do not cover service principals: Microsoft's guidance notes that calls made by service principals are not blocked by user-scoped Conditional Access policies, so add a policy under Conditional Access for Workload Identities. The vendor-neutral response is in the Leaked Credential Response Playbook.

Prevention

  • Register everyone for MFA early. Self-remediation needs MFA. Microsoft recommends the Entra MFA registration policy so new users register on their first day.
  • Move users to passwordless methods. For passwordless users, Require risk remediation revokes sessions and re-authenticates rather than forcing a password change, and a phishing-resistant method removes the password an attacker could reuse. See the Password Policy Guide for password rules while passwords remain.
  • Turn on PHS for every hybrid forest. It is the prerequisite for detection on on-premises passwords and a documented fallback for federation outages.
  • Use certificates for applications. Certificates and managed identities replace client secrets that leak into code repositories.
  • Stream risk data to your SIEM. Export the RiskyUsers and UserRiskEvents categories (Log Analytics tables AADRiskyUsers and AADUserRiskEvents), plus RiskyServicePrincipals and ServicePrincipalRiskEvents for workload identities. Only events after export is enabled appear, so turn it on now.

Detection and measurement

Filter AADUserRiskEvents on RiskEventType equal to leakedCredentials and track:

  • Open leaked credential risks: detections still in the atRisk state, target zero older than 24 hours.
  • Self-remediation rate: share remediated by the user through policy rather than by an administrator.
  • Time to remediate: from detection to Remediated state.
  • Dismissal without reset: leaked credential risks dismissed with no password change; each one needs a written reason.
  • PHS coverage: share of hybrid users whose password hash is synchronised.

Common failure patterns

  • PHS left off in a federated tenant. On-premises passwords cannot be matched, so leaked passwords for hybrid users go unflagged. Enable PHS alongside federation.
  • Dismissing instead of resetting. Dismissal clears the risk flag but leaves the leaked password valid. Reserve it for cases with a documented reason.
  • Policy in report-only indefinitely. Report-only is a testing stage. Set a date to switch the user risk policy On after reviewing impact.
  • No MFA registration or writeback for hybrid users. Users at risk are blocked instead of self-remediating, and the helpdesk absorbs the load. Fix registration and writeback before enforcing.
  • Assuming user policies cover apps. Leaked client secrets need workload identity detection and Conditional Access for workload identities, plus credential rotation.
  • Emergency access accounts not excluded. A misconfigured risk policy can lock out every admin. Exclude break-glass accounts and monitor them separately, as in How to set up and monitor break-glass accounts in Entra ID with passkeys and alerts.

Practitioner checklist

  • Confirm PHS is enabled for every synchronised forest, including federated domains.
  • Create a Conditional Access user risk policy (High, Require risk remediation), test in report-only, then enforce.
  • Migrate any legacy ID Protection risk policies to Conditional Access ahead of Microsoft's stated 1 October 2026 retirement.
  • Exclude emergency access accounts from risk policies and alert on their use.
  • Require MFA registration for all users, and enable password writeback and the on-premises reset setting for hybrid users where appropriate.
  • Write a runbook for manual leaked credential investigations: scope, reset, revoke, review, reuse advice.
  • Add Conditional Access for workload identities and move app credentials to certificates or managed identities.
  • Export user and service principal risk data to the SIEM and report the metrics above monthly.

Standards and references

Related NHI Mgmt Group resources: Entra ID Security Guide · Microsoft Entra ID Protection · Leaked Credential Response Playbook · How to Investigate a Compromised Entra ID Account

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.