vscode: keep getting "You have been signed out because reading stored authentication information failed."
Does this issue occur when all extensions are disabled?: Yes/No Yes
- VS Code Version: 1.65.2
- OS Version: Windows_NT x64 10.0.19044
I get 3 devices sharing the same configuration, one day, I changed my Microsoft account password on one of my devices, after then I keep getting this message every time opening the vscode on the other two devices.
Steps to Reproduce:
- Change the MS account password
- Open vscode.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 6
- Comments: 29 (8 by maintainers)
This link helped me.
How to fix:
https://xenvn.com/threads/vscode-fix-you-have-been-signed-out-because-reading-stored-authentication-information-failed.2584/#post-3139
Same issue on Mac OS after changing my workplace Microsoft Office 365 password. I even signed out of all Microsoft accounts and the alert still appeared on every launch of VS Code. What that looks like:
I fixed it by deleting all “vscodevscode.microsoft-authentication” entries in the login keychain.
Ahh I see what I was doing wrong. Those sessions from your password change weren’t being removed properly. Now they should be! This will be in VS Code Insiders tomorrow and VS Code stable early next month.
@jpixy on Ubuntu with gnome, there’s an app called “Passwords & Keys” and from there the steps are similar to what others have shown on macOS and Windows.
There might be a similar app on your distro… please let us know what you find
That may depend on the distro used. Gnome Wallet? KDE Wallet? Just guessing here, will give a look next time I boot into Linux
Answering my own question, it is in Keychain Access. In Keychain Access, select ‘login’ on the left side, then you can filter on the top right search box for ‘vscode’ and just delete all entries. Sorted.
This is all great information, folks. I’m curious to know if you all get into a bad state again if you change your password once more.
When I tried, I was unable to reproduce… which leads me to believe that you all got into a bad state from a previous change I made, and that new customers won’t be affected by this.
If my theory is true, I will at least document these steps to clear the vscode specific items out of the keychain.
haha, Guess what… I tried to update my password on the device with this popup, now all my 3 devices will have this popup…