{
  "schemaVersion": "1.0",
  "code": "50034",
  "name": "UserAccountNotFound",
  "title": "AADSTS50034 fix: user account not found in the tenant",
  "url": "https://brambrinkmeier.com/entra/aadsts/50034/",
  "alternates": {
    "markdown": "https://brambrinkmeier.com/entra/aadsts/50034.md",
    "json": "https://brambrinkmeier.com/api/aadsts/50034.json",
    "html": "https://brambrinkmeier.com/entra/aadsts/50034/"
  },
  "description": "AADSTS50034 means the username does not exist in that Entra tenant. Typo, wrong tenant or guest access, plus KQL for enumeration bursts.",
  "summary": "AADSTS50034 means the username doesn't exist in the Microsoft Entra tenant the sign-in went to. Usually it's a typo or the wrong tenant. The security signal is volume from one source: many different non-existent usernames from one IP suggests an attacker testing a guessed or leaked user list. Hunt it with ResultType == \"50034\".",
  "inMicrosoftReference": true,
  "unlistedChecked": null,
  "meaningText": "Microsoft's description:\n\n> **UserAccountNotFound**: To sign into this application, the account must be added to the directory. This error can occur because the user mis-typed their username, or isn't in the tenant. An application might have chosen the wrong tenant to sign into, and the currently logged in user was prevented from doing so since they did not exist in your tenant. If this user should be able to log in, add them as a guest.\n\nNo account with that name exists in the tenant that received the request. No password check happened against a real account.",
  "sections": [
    {
      "heading": "What does AADSTS50034 mean?",
      "text": "Microsoft's description:\n\n> **UserAccountNotFound**: To sign into this application, the account must be added to the directory. This error can occur because the user mis-typed their username, or isn't in the tenant. An application might have chosen the wrong tenant to sign into, and the currently logged in user was prevented from doing so since they did not exist in your tenant. If this user should be able to log in, add them as a guest.\n\nNo account with that name exists in the tenant that received the request. No password check happened against a real account."
    },
    {
      "heading": "Reproduced in the lab",
      "text": "On 25 October 2026 an automated lab run sent a token request for a user name that doesn't exist in my lab tenant. Entra returned `AADSTS50034` with this first line:\n\n> AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory.\n\nThat confirms the code and its wording at the token endpoint. The sign-in log row and the KQL on this page are not checked against it yet; see [how pages are checked](https://brambrinkmeier.com/methodology/)."
    },
    {
      "heading": "Is it an attack?",
      "text": "Microsoft's description lists three benign causes: a typo, a user who isn't in the tenant, and an app that picked the wrong tenant. Those explain most rows. The pattern decides:\n\n| Pattern | Likely meaning |\n|---|---|\n| One attempt, then a success with the corrected name from the same IP | A typo. Benign. |\n| A user from a partner organisation, hitting one specific app | Wrong tenant or a missing guest invitation. Benign. Add them as a guest if they need access. |\n| A former employee's name, or a renamed user's old name | Something still uses the old username. Find and update it. |\n| Many **different** non-existent names from one IP | Likely an attacker testing a user list (interpretation, not checked against real data): guessed `firstname.lastname` formats or a leaked list (T1087.004). |\n| 50034 mixed with 50126 and 50057 from the same IP | A password spray using a list that contains real, disabled and non-existent names (T1110.003). |\n\nConditional Access does not apply here. There is no user for a policy to match, and CA only runs after the first factor succeeds. Expect `ConditionalAccessStatus` = `notApplied`."
    },
    {
      "heading": "How do I find it in my logs (KQL)?",
      "text": "One IP trying many non-existent usernames:\n\n```kusto\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50034\"\n| summarize UnknownNames = dcount(UserPrincipalName),\n            Attempts = count(),\n            Sample = make_set(UserPrincipalName, 20),\n            Apps = make_set(AppDisplayName, 5),\n            Clients = make_set(ClientAppUsed, 5)\n          by IPAddress\n| where UnknownNames >= 10\n| sort by UnknownNames desc\n```\n\nThe same IPs, across all credential failures: how many real accounts were also hit, and did anything get through?\n\n```kusto\nlet enumIPs =\n    SigninLogs\n    | where TimeGenerated > ago(1d)\n    | where ResultType == \"50034\"\n    | summarize UnknownNames = dcount(UserPrincipalName) by IPAddress\n    | where UnknownNames >= 10\n    | project IPAddress;\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where IPAddress in (enumIPs)\n| summarize Attempts = count(), Users = dcount(UserPrincipalName) by IPAddress, ResultType, ResultDescription\n| sort by IPAddress asc, Attempts desc\n```\n\nAny `ResultType` of `\"0\"`, `\"50076\"`, `\"50074\"` or `\"53003\"` in the second result means a password was correct for at least one account. Pivot on that IP and user.\n\nFor a non-existent account, check which column holds the name that was typed. It is probably `UserPrincipalName` (an assumption, not yet checked against real data). `SignInIdentifier` is documented as *\"populated when a user signs in using other identifiers\"*, so look there as well."
    },
    {
      "heading": "How do Conditional Access and MFA affect it?",
      "text": "- Conditional Access and MFA play no part in a 50034. The request fails before either is evaluated.\n- The sign-in itself gives the attacker little, but the different answers do. A non-existent name returns 50034 and a real name with a wrong password returns 50126, so in practice the error alone can tell an attacker which names are real. The risk is the **next step**: the confirmed names get sprayed. Watch the same IPs for 50126 and 50053."
    },
    {
      "heading": "How do I fix AADSTS50034?",
      "text": "**For the user:** check the spelling of your username and that you are signing in with your work account. If you are from another organisation, ask the app owner to invite you as a guest.\n\n**For admins:**\n1. Single user: check for a typo, a renamed UPN, or an app pointing at the wrong tenant.\n2. External user who needs access: add them as a guest (B2B), as Microsoft's description says.\n3. Enumeration pattern: you can't block it at the Entra ID layer, because Conditional Access never evaluates a request for a user that doesn't exist. Put the IP on a watchlist or threat-intel feed instead, and watch for follow-up 50126/50053 from the same range. If the names come in a predictable format, that is a hint your UPN convention is public.\n4. Make sure every **real** account has MFA, so a list of valid names plus a sprayed password isn't enough."
    }
  ],
  "microsoftWording": {
    "text": "**UserAccountNotFound**: To sign into this application, the account must be added to the directory. This error can occur because the user mis-typed their username, or isn't in the tenant. An application might have chosen the wrong tenant to sign into, and the currently logged in user was prevented from doing so since they did not exist in your tenant. If this user should be able to log in, add them as a guest.",
    "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": "failure",
      "label": "Failure"
    },
    "attackSignal": {
      "level": "medium",
      "label": "Medium: worth a look in context"
    },
    "mitre": [
      {
        "id": "T1087.004",
        "name": "Account Discovery: Cloud Account",
        "url": "https://attack.mitre.org/techniques/T1087/004/"
      },
      {
        "id": "T1110.003",
        "name": "Brute Force: Password Spraying",
        "url": "https://attack.mitre.org/techniques/T1110/003/"
      }
    ],
    "tables": [
      "SigninLogs"
    ],
    "isItAnAttack": "Microsoft's description lists three benign causes: a typo, a user who isn't in the tenant, and an app that picked the wrong tenant. Those explain most rows. The pattern decides:\n\n| Pattern | Likely meaning |\n|---|---|\n| One attempt, then a success with the corrected name from the same IP | A typo. Benign. |\n| A user from a partner organisation, hitting one specific app | Wrong tenant or a missing guest invitation. Benign. Add them as a guest if they need access. |\n| A former employee's name, or a renamed user's old name | Something still uses the old username. Find and update it. |\n| Many **different** non-existent names from one IP | Likely an attacker testing a user list (interpretation, not checked against real data): guessed `firstname.lastname` formats or a leaked list (T1087.004). |\n| 50034 mixed with 50126 and 50057 from the same IP | A password spray using a list that contains real, disabled and non-existent names (T1110.003). |\n\nConditional Access does not apply here. There is no user for a policy to match, and CA only runs after the first factor succeeds. Expect `ConditionalAccessStatus` = `notApplied`.",
    "conditionalAccess": {
      "heading": "How do Conditional Access and MFA affect it?",
      "text": "- Conditional Access and MFA play no part in a 50034. The request fails before either is evaluated.\n- The sign-in itself gives the attacker little, but the different answers do. A non-existent name returns 50034 and a real name with a wrong password returns 50126, so in practice the error alone can tell an attacker which names are real. The risk is the **next step**: the confirmed names get sprayed. Watch the same IPs for 50126 and 50053."
    }
  },
  "kql": [
    {
      "title": null,
      "leadIn": "One IP trying many non-existent usernames:",
      "query": "SigninLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50034\"\n| summarize UnknownNames = dcount(UserPrincipalName),\n            Attempts = count(),\n            Sample = make_set(UserPrincipalName, 20),\n            Apps = make_set(AppDisplayName, 5),\n            Clients = make_set(ClientAppUsed, 5)\n          by IPAddress\n| where UnknownNames >= 10\n| sort by UnknownNames desc"
    },
    {
      "title": null,
      "leadIn": "The same IPs, across all credential failures: how many real accounts were also hit, and did anything get through?",
      "query": "let enumIPs =\n    SigninLogs\n    | where TimeGenerated > ago(1d)\n    | where ResultType == \"50034\"\n    | summarize UnknownNames = dcount(UserPrincipalName) by IPAddress\n    | where UnknownNames >= 10\n    | project IPAddress;\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where IPAddress in (enumIPs)\n| summarize Attempts = count(), Users = dcount(UserPrincipalName) by IPAddress, ResultType, ResultDescription\n| sort by IPAddress asc, Attempts desc"
    }
  ],
  "kqlSectionText": "One IP trying many non-existent usernames:\n\n```kusto\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where ResultType == \"50034\"\n| summarize UnknownNames = dcount(UserPrincipalName),\n            Attempts = count(),\n            Sample = make_set(UserPrincipalName, 20),\n            Apps = make_set(AppDisplayName, 5),\n            Clients = make_set(ClientAppUsed, 5)\n          by IPAddress\n| where UnknownNames >= 10\n| sort by UnknownNames desc\n```\n\nThe same IPs, across all credential failures: how many real accounts were also hit, and did anything get through?\n\n```kusto\nlet enumIPs =\n    SigninLogs\n    | where TimeGenerated > ago(1d)\n    | where ResultType == \"50034\"\n    | summarize UnknownNames = dcount(UserPrincipalName) by IPAddress\n    | where UnknownNames >= 10\n    | project IPAddress;\nSigninLogs\n| where TimeGenerated > ago(1d)\n| where IPAddress in (enumIPs)\n| summarize Attempts = count(), Users = dcount(UserPrincipalName) by IPAddress, ResultType, ResultDescription\n| sort by IPAddress asc, Attempts desc\n```\n\nAny `ResultType` of `\"0\"`, `\"50076\"`, `\"50074\"` or `\"53003\"` in the second result means a password was correct for at least one account. Pivot on that IP and user.\n\nFor a non-existent account, check which column holds the name that was typed. It is probably `UserPrincipalName` (an assumption, not yet checked against real data). `SignInIdentifier` is documented as *\"populated when a user signs in using other identifiers\"*, so look there as well.",
  "fix": {
    "short": "User: check the spelling of your username and that you are using your work account. From another organisation? Ask the app owner to invite you as a guest. Admin: check for a typo, a renamed UPN or an app pointing at the wrong tenant, and add external users who need access as guests (B2B).",
    "steps": "**For the user:** check the spelling of your username and that you are signing in with your work account. If you are from another organisation, ask the app owner to invite you as a guest.\n\n**For admins:**\n1. Single user: check for a typo, a renamed UPN, or an app pointing at the wrong tenant.\n2. External user who needs access: add them as a guest (B2B), as Microsoft's description says.\n3. Enumeration pattern: you can't block it at the Entra ID layer, because Conditional Access never evaluates a request for a user that doesn't exist. Put the IP on a watchlist or threat-intel feed instead, and watch for follow-up 50126/50053 from the same range. If the names come in a predictable format, that is a hint your UPN convention is public.\n4. Make sure every **real** account has MFA, so a list of valid names plus a sprayed password isn't enough."
  },
  "labReproduced": {
    "date": "2026-10-25",
    "method": "ROPC token request against a lab tenant",
    "scenario": "User does not exist",
    "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory.",
    "logCaptured": null,
    "kqlTested": null
  },
  "labSectionText": "On 25 October 2026 an automated lab run sent a token request for a user name that doesn't exist in my lab tenant. Entra returned `AADSTS50034` with this first line:\n\n> AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory.\n\nThat confirms the code and its wording at the token endpoint. The sign-in log row and the KQL on this page are not checked against it yet; see [how pages are checked](https://brambrinkmeier.com/methodology/).",
  "labRuns": [
    {
      "date": "2026-10-25",
      "run": null,
      "method": "ROPC token request against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/38",
      "scenario": "User does not exist",
      "expected": "50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": "round 4",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/67",
      "scenario": "User does not exist",
      "expected": "50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": "round 4",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/67",
      "scenario": "Deleted user signs in",
      "expected": "500341 / 50034",
      "got": "65001",
      "matchedExpectation": false,
      "message": "AADSTS65001: The user or administrator has not consented to use the application with ID '{app-id}' named 'lab-signin-client'. Send a"
    },
    {
      "date": "2026-10-30",
      "run": "round 4",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/67",
      "scenario": "Deleted user signs in, about 12 minutes after deletion",
      "expected": "500341 / 50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": "round 5",
      "method": "token-endpoint requests against a lab tenant, using lab-created test apps",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/69",
      "scenario": "User does not exist",
      "expected": "50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": "round 5",
      "method": "token-endpoint requests against a lab tenant, using lab-created test apps",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/69",
      "scenario": "Deleted user signs in",
      "expected": "500341 / 50034",
      "got": "success",
      "matchedExpectation": false,
      "message": ""
    },
    {
      "date": "2026-10-30",
      "run": "round 5",
      "method": "token-endpoint requests against a lab tenant, using lab-created test apps",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/69",
      "scenario": "Deleted user signs in, about 12 minutes after deletion",
      "expected": "500341 / 50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": "round 5 (first attempt)",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/68",
      "scenario": "User does not exist",
      "expected": "50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": "round 5 (first attempt)",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/68",
      "scenario": "Deleted user signs in",
      "expected": "500341 / 50034",
      "got": "success",
      "matchedExpectation": false,
      "message": ""
    },
    {
      "date": "2026-10-30",
      "run": "round 5 (first attempt)",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/68",
      "scenario": "Deleted user signs in, about 12 minutes after deletion",
      "expected": "500341 / 50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": "round 6",
      "method": "token-endpoint requests against a lab tenant, using lab-created test apps",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/70",
      "scenario": "User does not exist",
      "expected": "50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": "round 6",
      "method": "token-endpoint requests against a lab tenant, using lab-created test apps",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/70",
      "scenario": "Deleted user signs in",
      "expected": "500341 / 50034",
      "got": "success",
      "matchedExpectation": false,
      "message": ""
    },
    {
      "date": "2026-10-30",
      "run": "round 6",
      "method": "token-endpoint requests against a lab tenant, using lab-created test apps",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/70",
      "scenario": "Deleted user signs in, about 12 minutes after deletion",
      "expected": "500341 / 50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": "round 7",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/71",
      "scenario": "User does not exist",
      "expected": "50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": "round 7",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/71",
      "scenario": "Deleted user signs in",
      "expected": "500341 / 50034",
      "got": "success",
      "matchedExpectation": false,
      "message": ""
    },
    {
      "date": "2026-10-30",
      "run": "round 7",
      "method": "token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/71",
      "scenario": "Deleted user signs in, about 12 minutes after deletion",
      "expected": "500341 / 50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": null,
      "method": "ROPC and other token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/66",
      "scenario": "User does not exist",
      "expected": "50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-30",
      "run": null,
      "method": "ROPC and other token-endpoint requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/66",
      "scenario": "Deleted user signs in",
      "expected": "500341 / 50034",
      "got": "65001",
      "matchedExpectation": false,
      "message": "AADSTS65001: The user or administrator has not consented to use the application with ID '{app-id}' named 'lab-signin-client'. Send a"
    },
    {
      "date": "2026-10-31",
      "run": "round 8",
      "method": "token-endpoint and device-code requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/72",
      "scenario": "User does not exist",
      "expected": "50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-31",
      "run": "round 8",
      "method": "token-endpoint and device-code requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/72",
      "scenario": "Deleted user signs in",
      "expected": "500341 / 50034",
      "got": "success",
      "matchedExpectation": false,
      "message": ""
    },
    {
      "date": "2026-10-31",
      "run": "round 8",
      "method": "token-endpoint and device-code requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/72",
      "scenario": "Deleted user signs in, about 12 minutes after deletion",
      "expected": "500341 / 50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-31",
      "run": "round 9",
      "method": "token-endpoint and device-code requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/73",
      "scenario": "User does not exist",
      "expected": "50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    },
    {
      "date": "2026-10-31",
      "run": "round 9",
      "method": "token-endpoint and device-code requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/73",
      "scenario": "Deleted user signs in",
      "expected": "500341 / 50034",
      "got": "success",
      "matchedExpectation": false,
      "message": ""
    },
    {
      "date": "2026-10-31",
      "run": "round 9",
      "method": "token-endpoint and device-code requests against a lab tenant",
      "issue": "https://github.com/GrantZero604/Brambrinkmeier.com/issues/73",
      "scenario": "Deleted user signs in, about 12 minutes after deletion",
      "expected": "500341 / 50034",
      "got": "50034",
      "matchedExpectation": true,
      "message": "AADSTS50034: The user account {EUII Hidden} does not exist in the {tenant-id} directory. To sign into this application, the account mus"
    }
  ],
  "verification": "lab-reproduced",
  "related": [
    "50126",
    "50053",
    "50057",
    "50020",
    "16000",
    "50052",
    "51004",
    "90002",
    "90019",
    "500200",
    "500341",
    "500571",
    "5000225"
  ],
  "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": "Sign-in log activity details",
      "url": "https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-sign-in-log-activity-details"
    },
    {
      "title": "SigninLogs table reference (Azure Monitor)",
      "url": "https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/signinlogs"
    }
  ],
  "published": null,
  "lastUpdated": "2026-11-01",
  "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, \"AADSTS50034 fix: user account not found in the tenant\", https://brambrinkmeier.com/entra/aadsts/50034/ (CC BY 4.0)",
  "microsoftErrorLookup": "https://login.microsoftonline.com/error?code=50034"
}
