claude-code - 💡(How to fix) Fix [BUG] erver-side configuration issue with Anthropic's Azure AD app registration, not a port problem.

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

include the error AADSTS900971 and client ID Same port, same error — this confirms it's a server-side configuration issue with Anthropic's Azure AD app registration,

  1. File a bug report at https://github.com/anthropics/claude-code/issues — include the error AADSTS900971 and client ID https://github.com/anthropics/claude-code/issues — include the error AADSTS900971 and client ID

Error Messages/Logs

https://github.com/anthropics/claude-code/issues — include the error AADSTS900971 and client ID

Code Example

https://github.com/anthropics/claude-code/issues — include the error AADSTS900971 and client ID
  08ad6f98-a4f8-4635-bb8d-f1a3044760f0 so they can fix the app registration.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

include the error AADSTS900971 and client ID 08ad6f98-a4f8-4635-bb8d-f1a3044760f0 so they can fix the app registration.

Same port, same error — this confirms it's a server-side configuration issue with Anthropic's Azure AD app registration, not a port problem. The localhost redirect URIs simply aren't registered for that client app ID.

What you can do:

  1. File a bug report at https://github.com/anthropics/claude-code/issues — include the error AADSTS900971 and client ID 08ad6f98-a4f8-4635-bb8d-f1a3044760f0 so they can fix the app registration.

What Should Happen?

https://github.com/anthropics/claude-code/issues — include the error AADSTS900971 and client ID 08ad6f98-a4f8-4635-bb8d-f1a3044760f0 so they can fix the app registration.

Error Messages/Logs

https://github.com/anthropics/claude-code/issues — include the error AADSTS900971 and client ID
  08ad6f98-a4f8-4635-bb8d-f1a3044760f0 so they can fix the app registration.

Steps to Reproduce

⏺ New URL with a different port (62133). Please try this one:

Click here to authorize Microsoft 365 (https://login.microsoftonline.com/common/oauth2/v2.0/authorize?response_type=code&cl ient_id=08ad6f98-a4f8-4635-bb8d-f1a3044760f0&code_challenge=IDxLkS8UTSKAJfu-fOIAp9FYE7IcKe0NwAkXayBzsps&code_challenge_meth od=S256&redirect_uri=http%3A%2F%2Flocalhost%3A62133%2Fcallback&state=IHksl2Imp0xMDWCOOXDcq8Q1uTXGO2ZzMhoH5IvN70k&scope=api% 3A%2F%2F07c030f6-5743-41b7-ba00-0a6e85f37c17%2F.default+offline_access+openid+email&prompt=consent)

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.142 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] erver-side configuration issue with Anthropic's Azure AD app registration, not a port problem.