Copilot & VSCode with Multiple Accounts #58082
-
Select Topic AreaQuestion BodyI have two GitHub accounts. There is my personal GitHub account which is what I use for virtually all day to day tasks, and there is my enterprise GitHub account which has access to Copilot. If I were to initially launch VSCode I can authenticate the extensions in a careful order such that the Copilot extension uses my enterprise account, and the other extensions & setting sync use my personal account. However, on subsequent launches of VSCode it appears that only authentication for my personal account is used and the Copilot extension fails. I then have to sign out of GitHub from VSCode and repeat the sign in process again, being careful of the order again. Is there some way for me to explicitly tell the Copilot extension to use a particular GitHub account, separate from my other extensions? |
Beta Was this translation helpful? Give feedback.
Replies: 77 comments 103 replies
-
We need a way to configure the CoPilot extension to use a different GitHub account than the account used by VS Code for other things such as sync'ing. They're not going to be the same. I use my personal account for sync'ing, but I want to use my corporate enterprise account for CoPilot because the company I work for pays for it. Currently, I cannot use CoPilot VSCode for this reason, although this works fine in Visual Studio. |
Beta Was this translation helpful? Give feedback.
-
Hi @bbatsche , Thanks for highlighting this - I've shared this feedback with my team internally. |
Beta Was this translation helpful? Give feedback.
-
can confirm same issue. any updates on this? |
Beta Was this translation helpful? Give feedback.
-
Ok, I just cancelled my copilot subscription, not being able to use other extensions due to this limit makes it not worth it. I'd gladly subscribe again when this feature become available |
Beta Was this translation helpful? Give feedback.
-
Can confirm this is still a problem |
Beta Was this translation helpful? Give feedback.
-
Not sure whats changed but I can now no longer have the GitHub Pull Requests extension and Co-pilot extension using different accounts. Well it's weird VScode is claiming they are signed in separately but Co-pilot refuses to work whilst my personal account is signed into GitHub Pull Requests :( |
Beta Was this translation helpful? Give feedback.
-
Just chiming in to note that this used to work fine in the past, only ran into the issue after having to reinstall VSCode |
Beta Was this translation helpful? Give feedback.
-
April 2024, still not fixed! |
Beta Was this translation helpful? Give feedback.
-
Same issue: But now I don't know how to add my corporate account. And authorize Github Pull Requests against it too.
|
Beta Was this translation helpful? Give feedback.
-
I am facing the same issue, I logged out of the account that does not have Copilot, and now I do not have an option to log in again with that account in VSCode, I just can be logged in with a single account. 👀 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
For me what fixed it was unsubscribing from Copilot and using this as a chance to explore competing products. This kind of stuff I can tolerate from a FOSS extension but not something I pay a subscription for. Really foundational stuff to be breaking and not mending as a matter of urgency. |
Beta Was this translation helpful? Give feedback.
-
Was facing the same issue |
Beta Was this translation helpful? Give feedback.
-
This is still an issue as of 1.172.0 (works fine if I switch to 1.162.0). @Akash1134 are there plans to address this issue? It's been going on for quite some time. |
Beta Was this translation helpful? Give feedback.
-
Goodness, why can't such a basic function be supported? The user experience is so terrible. |
Beta Was this translation helpful? Give feedback.
-
sign out?----------------------------顺祝商祺 !******************************************致礼!李尔欣/LearE-mail : ***@***.***:18019300070qq:230739928 ¤╭⌒╮ ╭⌒╮ ╱◥██◣ ╭╭ ⌒╮祝您工作愉快!心想事成! ︱田︱田田| ╰---------------------------------------------------╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬ ------------------ 原始邮件 ------------------发件人:Brooks Travis ***@***.***"时 间:2024/02/23 16:00:52 周五收件人:communitycommunity ***@***.***"抄送人:18019300070 ***@***.***", Manual ***@***.***"主 题:Re: [community/community] Copilot & VSCode with Multiple Accounts (Discussion #58082)Everything looks like this should work (trusted extensions under the correct GitHub logins), but then copilot just quits working and I have to sign out of my personal account to get it to work again.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Terrible that something such as this hasn't been fixed or even given the attention it deserves. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to switch to just using my work account and I even logged out from my personal account, uninstalled the extension, cleared caches, removed the .vscode directory, uninstalled VSCode altogether, yet still when I try to use it, it finds my personal account history and crashes. Yikes. |
Beta Was this translation helpful? Give feedback.
-
Have the same issue.. opened this ticket here: Would really like a solution as while I also pay for gpt plus, copilot actually has way better answers than gpt plus for anything but python (am sick of how poor gpt plus is) |
Beta Was this translation helpful? Give feedback.
-
Same thing here. I have a Copilot licence, but I can't use it and push to a private repository of a work account. |
Beta Was this translation helpful? Give feedback.
-
Hi All, Sorry for the trouble caused. This issue is caused by VS Code not properly supporting multiple auth sessions. From Solution: Cannot read properties of undefined:
Ref: Thanks! |
Beta Was this translation helpful? Give feedback.
-
Doesn't work for me either. I can't log into the Chat: Github Copilot. It doesn't need updating, |
Beta Was this translation helpful? Give feedback.
-
Login with your enterprise GitHub account and try again. And also check your GitHub configurations. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to say it does work for me, even after restart. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
it also failed after I restarted VSC. |
Beta Was this translation helpful? Give feedback.
-
It persisted. |
Beta Was this translation helpful? Give feedback.
-
This problem is still ongoing |
Beta Was this translation helpful? Give feedback.
-
Seems some old version not work well with vscode 1.87, it will take a lot cpu, and will take a lot memory when working with pylance. |
Beta Was this translation helpful? Give feedback.
-
Had the same problem. |
Beta Was this translation helpful? Give feedback.
Just for awareness, VS Code Dev made this comment on this issue.
TLDR: They confirm that VS Code officially only supports 1 account but intend to support multi accounts. But when and how is up in the air. Recommended workaround is using VS Code + VS Code insider side by side for your multi account usage.