🐛 Bug Report: Unable to log in to Claude Code CLI with Teams (organization) account
Open 💬 31 comments Opened Sep 1, 2025 by Mel-TB
Duplicate of #199
I am part of a Claude AI Teams organization, and everything works fine on the web interface.
However, when I try to log in via the Claude Code CLI, it only connects to my personal account, not the one related to the company.
My colleagues in the same organization, invited the same way and with the same role as me (non-admin members), can log in wihtout any problem.
I am not the org admin, onlu one colleague is, but aside from that, all members share the same role.
Steps to Reproduce
- Install the claude CLI
- Run the command
claude
- Choose option 2 (because when I use 1, it redirects me to a page asking to choose 2
- Authenticate using my email linked to the Teams orgs ( the same as the personal)
- Result: CLI connects only to my personal account
Current Behavior
- CLI ignores the Teams organization and defaults to my personal account
Expected Behavior
- Be able to log in and use my Claude Teams (organization) account, just like my colleagues
Workarounds Tried
I have already tried the suggestion from issue #377:
- Cleared local CLI config/cache
- Reinstalled the CLI
- Tried both login options:
- 1. Claude account with subscription -> redirect me to a page "To log into Claude Code with Teams, start Claude Code and login with “2. Anthropic Console account.”"
- 2. Anthropic Console Account -> doesn't recognize the Teams subscription
- Tried different shells (Git Bash, PowerShell)
None of these resolved the issue
Additional Information
- Not an admin, but same role as colleagues who can log in successfully
- Personal and professional share the same email
- CLI version: 1.0.98
Questions
- Is there a way to force the CLI to use the Team organization account ?
- Does the CLI cache a personal account somewhere (and should I clear it differently?)
- Could this be a bug with account linking when both a personal and Teams account exist ?
Showing cached comments. Read the full discussion on GitHub ↗
30 Comments
Same issue.
First time Claude Code user and can't login with my Org Team plan.
https://github.com/anthropics/claude-code/issues/6996
Same issue.
I was actually able to resolve this by having my Org Team admin invite me to Anthropic Console as a developer (they are separately managed). Once this was enabled it gave me the option to chose my organization and it was no longer an issue.
Setup a team plan, invited team members cannot use it. How did they do that invite to Anthropic Console @matthewkturner ?
Same issue
I'm also seeing this issue this evening.
<img width="1780" height="450" alt="Image" src="https://github.com/user-attachments/assets/f1af9557-8791-4442-aaba-869721e166af" />
If I log in via the console API then it's not the team account, it asks me to add credits.
Same issue
Same for me
Getting same issue
had the same until assigned the "Premium" tier which has Claude Code access. The auth flows and messages are really not the most helpful, I have to say.
<img width="362" height="264" alt="Image" src="https://github.com/user-attachments/assets/5c3538d3-0ed6-4797-a1a3-403c4a0075d0" />
Same problem
same problem
same problem
Same problem with a brand new Teams account. We are at Standard tier, I was added by the Primary User role, am myself just a User. Going in circles. 🤪
Hey, this is causing trouble for us
If I read correctly, personal pro account includes claude code, teams standard does not. So I'm thinking you would need to assign a premium role to a user in teams to use claude code without api billing?
Since this appears to be getting little attention, I will just lob some additional screenshots of the problem to show how maddening this can be for the user. Following the quickstart guide, I begin by installing Claude Code via npm, then pick a color scheme, then enter the authentication workflow. Note that I already have authenticated and have an active session
<img width="883" height="558" alt="Image" src="https://github.com/user-attachments/assets/0c3c68ca-346f-4d93-8db0-b52064fa100a" />
<img width="855" height="291" alt="Image" src="https://github.com/user-attachments/assets/530385e7-9e76-4cbf-b37e-cad81bfd506b" />
<img width="844" height="471" alt="Image" src="https://github.com/user-attachments/assets/f7c573d3-360b-4c52-8904-bfb1a14309ed" />
<img width="843" height="596" alt="Image" src="https://github.com/user-attachments/assets/e78159a7-82e4-441d-b76d-93eca04d0542" />
<img width="564" height="1009" alt="Image" src="https://github.com/user-attachments/assets/809c2bd0-3974-43ec-9a2b-9a4c3e51b3e7" />
Now if I completely log out of my Anthropic account on my browser and proceed up to step 2, I now see:
<img width="556" height="595" alt="Image" src="https://github.com/user-attachments/assets/4a5caa89-164a-4d61-99e8-59edd4aceafb" />
Progress! Anthropic sends me an email with a sign-in link. But no, I'm once again sent to the " you have a Teams account" page again. 😫
You cannot use claude teams standard accounts with option number 1, they do not have claude access which is why it is telling you to use the api. If you were to be assigned a teams premium seat, the number 1 option would work.
The issue isn't that it isn't working, the issue is that it is poorly conveyed what the problem is.
It isn’t working as described, therefore I still consider this a bug.
Log into Claude AI on the web and go to Settings --> Members, and check that you are assigned a Seat Type in your org. Mine was unassigned and was causing the same problems described above.
Thank you @scmac000 a good suggestion, but I'm already assigned to Standard.
That's because it only works with a premium seat.
@brenitcontact you are absolutely right and the docs state it very plainly. They just need to fix their auth workflow so as not to endlessly frustrate users.
Same prob
have both personal account & team account w/ same email
I've switched to team account in the browser after clearing cache & uninstalling/installing claude code cli
and it ALWAYS directs me to my personal account, not the team account.
(all other team members have no prob in using their clis w/ team account w/ same settings)
i hope this issue will be solved quickly and surely as possible. Will track this issue
Same for me.
https://github.com/anthropics/claude-code/issues/12740
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
I found what the issue was for me: in my Teams account I have a standard seat, not a premium seat, so I'm not allowed to use Claude Code.
This is not documented anywhere in the settings page or in the Claude Code authentication page.
Locking 'Claude Code' behind a 5x paywall
for Teams while it's accessible on individual plans is bad practice. It makes no sense to penalize team administration with fewer features unless we pay an exorbitant fee. We are now looking into switching to Codex (OpenAl/GitHub Copilot), as their team tiers don't seem to force such a drastic trade-off between
management features and model access.
I just bought a Team account with one premium seat and four standard seats to use company-level Claude Code for team members who don't actively develop but do work with code. However, they cannot log in — they get some strange error message. But if they use my account with the premium seat, it works fine.
In this case, it would be better to use one $200 subscription for the whole team instead of a Team subscription. Also, it's not described anywhere in the terms of use that standard seats don't provide Claude Code access.
<img width="2371" height="957" alt="Image" src="https://github.com/user-attachments/assets/94f30f3f-fa11-48ae-b3b6-04b5df5d117a" />
We just having the same issue, all "standard" seat user with non-primary owner access were not able to access claude code. the solution is:
then they will have access to claude code