No sign in possible from Visual Studio Code

Ralf Longwitz 1 Reputation point
2022-03-14T13:49:50.097+00:00

I installed VSCode on Linux (Debian on Chromebook). Everything seems to be working fine, but I cannot sign in to anything. Not sync with Microsoft or Github, nor Jira or Bitbucket. Clicking the respective buttons, nothing happens at all. No error message.
Google found many similar issues, but all had error messages. I have none. Just nothing happening.
Any idea? Thanks!

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

3 answers

Sort by: Most helpful
  1. Ramanarajan D 16 Reputation points
    2025-03-28T10:04:03.0933333+00:00

    Enable Classic Authentication:

    If you're using the new MSAL-based authentication and it's causing issues, you can switch to the classic implementation temporarily:

    Open your VS Code settings (Ctrl+, or Cmd+, on Mac).

      Search for `microsoft-authentication.implementation`.
      
         Set it to `classic`.
         
            Restart VS Code and try signing in again.
            
    
    1 person found this answer helpful.

  2. James Hamil 27,211 Reputation points Microsoft Employee Moderator
    2022-03-14T18:10:45.71+00:00

    Hi @Ralf Longwitz , is this the button you're using to sign in? 183011-saved.png

    if so when you attempt to sign, does it open your browser? Are you able to sign in there, where it says "you have signed in, you may close this window?" And then you're still not signed in in VS Code? Or does nothing come up? I'm trying to see where this breaks.

    You could always try re-installing VS Code too to see if it works, couldn't hurt!

    Please let me know and I can help you further.

    Best,
    James


  3. Rishikesh Joshi 1 Reputation point
    2022-12-14T11:03:53.86+00:00

    @James Hamil - it worked with suggested solution. Thanks!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.