Skip to content

logging in to microsoft resources does not work #1115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jera8 opened this issue Apr 8, 2025 · 1 comment
Open

logging in to microsoft resources does not work #1115

jera8 opened this issue Apr 8, 2025 · 1 comment
Labels
info-needed See https://aka.ms/azcodeissuereporting

Comments

@jera8
Copy link

jera8 commented Apr 8, 2025

Does this occur consistently? <! yes>
Repro steps:

  1. log in with 'sign in to azure' with right credentials
  2. get no error
  3. it keeps saying 'sign in to azure'
  4. but on in the tab accounts it says im signed in to microsoft
    i tried:
  • reinstalling all extentions
  • logging out

what seems to help is use classic microsoft log in, in stead of msal

Version: 0.10.9
OS: win32
OS Release: 10.0.26100
Product: Visual Studio Code
Product Version: 1.99.0
Language: en

@alexweininger
Copy link
Member

Hi, try this fix that was suggested in this VS Code thread: microsoft/vscode#240307 (comment)

  • Delete the directory: %userprofile%\AppData\Local\Microsoft\IdentityCache
  • Try signing in with msal again

If those don't work, then please file a new issue on the VS Code repository. https://github.com/microsoft/vscode/issues

@alexweininger alexweininger added the info-needed See https://aka.ms/azcodeissuereporting label Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed See https://aka.ms/azcodeissuereporting
Projects
None yet
Development

No branches or pull requests

2 participants