{"version":"2.1.304","anchor":"credential-and-powershell-lookups-short-circuit-under-an-unr","canonical_anchor":"credential-and-powershell-lookups-short-circuit-under-an-unr","heading":"PowerShell lookup and identity-token sign-in can be skipped in some sessions","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304\/e\/credential-and-powershell-lookups-short-circuit-under-an-unr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304","markdown":"### PowerShell lookup and identity-token sign-in can be skipped in some sessions\n\nIn some sessions Claude Code now skips finding PowerShell and skips identity-token sign-in even when a token file is set\n\n**Unclear.** Which sessions meet the condition that switches these two things off is not known.\n\n**What**\n\nClaude Code has gained a check that stops two things from happening when a certain session condition holds:\n\n- Finding PowerShell, the Windows command shell: Claude Code returns no result instead of looking for it.\n\n- Signing in with an identity token: even when `ANTHROPIC_IDENTITY_TOKEN_FILE` points to a token file, Claude Code does not set up sign-in from it.\n\nPreviously neither had this check.\n\n**Why**\n\nIn the sessions this affects, PowerShell and identity-token sign-in are not available, so a token file set with `ANTHROPIC_IDENTITY_TOKEN_FILE` has no effect there.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}