{
  "schemaVersion": "1.0",
  "code": "50125",
  "name": "PasswordResetRegistrationRequiredInterrupt",
  "title": "AADSTS50125: Password reset registration interrupt",
  "url": "https://brambrinkmeier.com/entra/aadsts/50125/",
  "alternates": {
    "markdown": "https://brambrinkmeier.com/entra/aadsts/50125.md",
    "json": "https://brambrinkmeier.com/api/aadsts/50125.json",
    "html": "https://brambrinkmeier.com/entra/aadsts/50125/"
  },
  "description": "AADSTS50125: a password reset registration interrupt after the password was accepted. From an attacker IP, they may set recovery info. With KQL.",
  "summary": "AADSTS50125 means sign-in was paused so the user could register for, or go through, self-service password reset. It is an expected interrupt and the password had already been accepted. If the sign-in came from an attacker IP, the attacker may be choosing the recovery details for the account.",
  "inMicrosoftReference": true,
  "unlistedChecked": null,
  "meaningText": "Microsoft's description:\n\n> **PasswordResetRegistrationRequiredInterrupt**: Sign-in was interrupted because of a password reset or password registration entry.\n\nMicrosoft's description is all the official text there is. In practice this is the self-service password reset (SSPR) registration prompt (today part of combined security info registration): the user signed in successfully and is asked to set up or confirm the details used to reset their password later. That reading is from how the prompt behaves, not from a Microsoft statement.",
  "sections": [
    {
      "heading": "What does AADSTS50125 mean?",
      "text": "Microsoft's description:\n\n> **PasswordResetRegistrationRequiredInterrupt**: Sign-in was interrupted because of a password reset or password registration entry.\n\nMicrosoft's description is all the official text there is. In practice this is the self-service password reset (SSPR) registration prompt (today part of combined security info registration): the user signed in successfully and is asked to set up or confirm the details used to reset their password later. That reading is from how the prompt behaves, not from a Microsoft statement."
    },
    {
      "heading": "Is it an attack?",
      "text": "For a real user it is routine. **It matters when the sign-in is not the user's.**\n\nThe same logic as [50079](https://brambrinkmeier.com/entra/aadsts/50079/) applies. Whoever completes this step chooses the recovery details. An attacker with a working password who reaches 50125 can register their own phone or email as recovery info, and later use it to reset the password after the real user changes it. This is reasoning from what the prompt does, not a Microsoft statement.\n\n| Pattern | Likely meaning |\n|---|---|\n| 50125, then `0` from the user's usual IP and device | Normal SSPR registration or reconfirmation. Benign. |\n| 50125 from an IP that produced many **50126** failures | A spray found a working password, and the account is being asked for recovery info. |\n| 50125 from an unfamiliar IP, then a security info registration event, then `0` | **Likely account takeover** with attacker-controlled recovery details. |"
    },
    {
      "heading": "How do I find it in my logs (KQL)?",
      "text": "50125 from IPs the user has not had a successful sign-in from in the last 14 days:\n\n```kusto\nlet knownIPs =\n    SigninLogs\n    | where TimeGenerated > ago(14d)\n    | where ResultType == \"0\"\n    | distinct UserPrincipalName, IPAddress;\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50125\"\n| join kind=leftanti knownIPs on UserPrincipalName, IPAddress\n| project TimeGenerated, UserPrincipalName, IPAddress, AppDisplayName,\n          ClientAppUsed, UserAgent\n| sort by TimeGenerated asc\n```\n\n50125 followed within an hour by a security info registration in `AuditLogs` for the same user:\n\n```kusto\nlet interrupts =\n    SigninLogs\n    | where TimeGenerated > ago(7d)\n    | where ResultType == \"50125\"\n    | project InterruptTime = TimeGenerated,\n              UserPrincipalName = tolower(UserPrincipalName),\n              SigninIP = IPAddress;\nAuditLogs\n| where TimeGenerated > ago(7d)\n| where OperationName has \"security info\"\n| extend UserPrincipalName = tolower(tostring(InitiatedBy.user.userPrincipalName)),\n         AuditIP = tostring(InitiatedBy.user.ipAddress)\n| join kind=inner interrupts on UserPrincipalName\n| where TimeGenerated between (InterruptTime .. (InterruptTime + 1h))\n| project InterruptTime, RegisteredAt = TimeGenerated, UserPrincipalName,\n          SigninIP, AuditIP, OperationName, Result\n| sort by RegisteredAt desc\n```\n\nVerify the exact `OperationName` values for security info and password reset registration in your own workspace before relying on the `has \"security info\"` filter, and check that `InitiatedBy` carries the user and IP fields for those events. `ResultType` is a **string** column, so compare it with `\"50125\"`."
    },
    {
      "heading": "How do Conditional Access and MFA affect it?",
      "text": "- 50125 comes from SSPR registration, not from a Conditional Access grant. It shows up after the password has been accepted.\n- Microsoft documents that an interrupted sign-in *\"appears on the logs but shows **Not applied** for Conditional Access.\"* Look at the follow-up row for the policy result.\n- If your tenant lets users register security info from anywhere, this prompt is an opportunity for whoever holds the password. Restricting registration to trusted locations or devices with Conditional Access closes that path for this prompt and for [50079](https://brambrinkmeier.com/entra/aadsts/50079/)."
    },
    {
      "heading": "How do I fix AADSTS50125?",
      "text": "**For the user:** complete or confirm your password reset details. If you get the prompt on a device or at a time you don't recognise, contact IT.\n\n**For admins:**\n1. For a 50125 from an unfamiliar IP, review the user's registered recovery methods and remove any you can't tie to the user.\n2. If an attacker registered details, reset the password, remove the methods, and revoke sessions (`Revoke-MgUserSignInSession`).\n3. Restrict security info registration to trusted locations or devices."
    }
  ],
  "microsoftWording": {
    "text": "**PasswordResetRegistrationRequiredInterrupt**: Sign-in was interrupted because of a password reset or password registration entry.",
    "source": "Microsoft's error code reference, as quoted on the page",
    "sourceUrl": "https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes"
  },
  "securityReading": {
    "category": {
      "id": "credentials",
      "label": "Credentials and lockout"
    },
    "kind": {
      "id": "interrupt",
      "label": "Interrupt (an expected extra step, not a failure)"
    },
    "attackSignal": {
      "level": "medium",
      "label": "Medium: worth a look in context"
    },
    "mitre": [
      {
        "id": "T1078.004",
        "name": "Valid Accounts: Cloud Accounts",
        "url": "https://attack.mitre.org/techniques/T1078/004/"
      }
    ],
    "tables": [
      "SigninLogs"
    ],
    "isItAnAttack": "For a real user it is routine. **It matters when the sign-in is not the user's.**\n\nThe same logic as [50079](https://brambrinkmeier.com/entra/aadsts/50079/) applies. Whoever completes this step chooses the recovery details. An attacker with a working password who reaches 50125 can register their own phone or email as recovery info, and later use it to reset the password after the real user changes it. This is reasoning from what the prompt does, not a Microsoft statement.\n\n| Pattern | Likely meaning |\n|---|---|\n| 50125, then `0` from the user's usual IP and device | Normal SSPR registration or reconfirmation. Benign. |\n| 50125 from an IP that produced many **50126** failures | A spray found a working password, and the account is being asked for recovery info. |\n| 50125 from an unfamiliar IP, then a security info registration event, then `0` | **Likely account takeover** with attacker-controlled recovery details. |",
    "conditionalAccess": {
      "heading": "How do Conditional Access and MFA affect it?",
      "text": "- 50125 comes from SSPR registration, not from a Conditional Access grant. It shows up after the password has been accepted.\n- Microsoft documents that an interrupted sign-in *\"appears on the logs but shows **Not applied** for Conditional Access.\"* Look at the follow-up row for the policy result.\n- If your tenant lets users register security info from anywhere, this prompt is an opportunity for whoever holds the password. Restricting registration to trusted locations or devices with Conditional Access closes that path for this prompt and for [50079](https://brambrinkmeier.com/entra/aadsts/50079/)."
    }
  },
  "kql": [
    {
      "title": null,
      "leadIn": "50125 from IPs the user has not had a successful sign-in from in the last 14 days:",
      "query": "let knownIPs =\n    SigninLogs\n    | where TimeGenerated > ago(14d)\n    | where ResultType == \"0\"\n    | distinct UserPrincipalName, IPAddress;\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50125\"\n| join kind=leftanti knownIPs on UserPrincipalName, IPAddress\n| project TimeGenerated, UserPrincipalName, IPAddress, AppDisplayName,\n          ClientAppUsed, UserAgent\n| sort by TimeGenerated asc"
    },
    {
      "title": null,
      "leadIn": "50125 followed within an hour by a security info registration in `AuditLogs` for the same user:",
      "query": "let interrupts =\n    SigninLogs\n    | where TimeGenerated > ago(7d)\n    | where ResultType == \"50125\"\n    | project InterruptTime = TimeGenerated,\n              UserPrincipalName = tolower(UserPrincipalName),\n              SigninIP = IPAddress;\nAuditLogs\n| where TimeGenerated > ago(7d)\n| where OperationName has \"security info\"\n| extend UserPrincipalName = tolower(tostring(InitiatedBy.user.userPrincipalName)),\n         AuditIP = tostring(InitiatedBy.user.ipAddress)\n| join kind=inner interrupts on UserPrincipalName\n| where TimeGenerated between (InterruptTime .. (InterruptTime + 1h))\n| project InterruptTime, RegisteredAt = TimeGenerated, UserPrincipalName,\n          SigninIP, AuditIP, OperationName, Result\n| sort by RegisteredAt desc"
    }
  ],
  "kqlSectionText": "50125 from IPs the user has not had a successful sign-in from in the last 14 days:\n\n```kusto\nlet knownIPs =\n    SigninLogs\n    | where TimeGenerated > ago(14d)\n    | where ResultType == \"0\"\n    | distinct UserPrincipalName, IPAddress;\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50125\"\n| join kind=leftanti knownIPs on UserPrincipalName, IPAddress\n| project TimeGenerated, UserPrincipalName, IPAddress, AppDisplayName,\n          ClientAppUsed, UserAgent\n| sort by TimeGenerated asc\n```\n\n50125 followed within an hour by a security info registration in `AuditLogs` for the same user:\n\n```kusto\nlet interrupts =\n    SigninLogs\n    | where TimeGenerated > ago(7d)\n    | where ResultType == \"50125\"\n    | project InterruptTime = TimeGenerated,\n              UserPrincipalName = tolower(UserPrincipalName),\n              SigninIP = IPAddress;\nAuditLogs\n| where TimeGenerated > ago(7d)\n| where OperationName has \"security info\"\n| extend UserPrincipalName = tolower(tostring(InitiatedBy.user.userPrincipalName)),\n         AuditIP = tostring(InitiatedBy.user.ipAddress)\n| join kind=inner interrupts on UserPrincipalName\n| where TimeGenerated between (InterruptTime .. (InterruptTime + 1h))\n| project InterruptTime, RegisteredAt = TimeGenerated, UserPrincipalName,\n          SigninIP, AuditIP, OperationName, Result\n| sort by RegisteredAt desc\n```\n\nVerify the exact `OperationName` values for security info and password reset registration in your own workspace before relying on the `has \"security info\"` filter, and check that `InitiatedBy` carries the user and IP fields for those events. `ResultType` is a **string** column, so compare it with `\"50125\"`.",
  "fix": {
    "short": "User: complete or confirm your password reset details. If the prompt appears on a device or at a time you don't recognise, contact IT. Admin: for a 50125 from an unfamiliar IP, remove recovery methods you can't tie to the user. Restrict registration to trusted locations or devices.",
    "steps": "**For the user:** complete or confirm your password reset details. If you get the prompt on a device or at a time you don't recognise, contact IT.\n\n**For admins:**\n1. For a 50125 from an unfamiliar IP, review the user's registered recovery methods and remove any you can't tie to the user.\n2. If an attacker registered details, reset the password, remove the methods, and revoke sessions (`Revoke-MgUserSignInSession`).\n3. Restrict security info registration to trusted locations or devices."
  },
  "labReproduced": null,
  "labSectionText": null,
  "labRuns": [],
  "verification": "documentation",
  "related": [
    "50079",
    "50126",
    "50055",
    "50076",
    "50140"
  ],
  "coveredBy": [
    {
      "title": "How to detect password spraying in Microsoft Entra ID (with KQL)",
      "url": "https://brambrinkmeier.com/guides/detect-password-spray-entra-id/"
    }
  ],
  "sources": [
    {
      "title": "Microsoft Entra authentication and authorization error codes",
      "url": "https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes"
    },
    {
      "title": "Interactive user sign-ins",
      "url": "https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-interactive-sign-ins"
    },
    {
      "title": "Revoke user access in Microsoft Entra ID",
      "url": "https://learn.microsoft.com/en-us/entra/identity/users/users-revoke-access"
    },
    {
      "title": "SigninLogs table reference (Azure Monitor)",
      "url": "https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/signinlogs"
    }
  ],
  "published": null,
  "lastUpdated": "2026-10-11",
  "lastVerified": null,
  "license": "CC BY 4.0",
  "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
  "licenseNote": "CC BY 4.0 covers the author's own text and classification fields. Quoted Microsoft error wording belongs to Microsoft, is quoted with its source and can change.",
  "attribution": "Bram Brinkmeier, \"AADSTS50125: Password reset registration interrupt\", https://brambrinkmeier.com/entra/aadsts/50125/ (CC BY 4.0)",
  "microsoftErrorLookup": "https://login.microsoftonline.com/error?code=50125"
}
