microsoft / vscode-azureresourcegroups

VS Code extension for managing Azure resources.
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureresourcegroups
MIT License
54 stars 29 forks source link

Extension can't log in to Azure subscription #912

Closed yk2492 closed 2 months ago

yk2492 commented 3 months ago

I'm using Azure Extensions for deploying Function Apps and LogicApps workflows. Open the Azure tab and click Sign in to Azure... , after completing the login operation in the browser, a Network failure error is displayed.

I noticed this issue on 8/28. I used to be able to use it, but suddenly I can't log in. I'm using a proxy.

OS:Windows 11. Extension: Azure Resources v0.9.4 Azure Functions v1.15.3 Azure Logic Apps (Standard) v4.57.7 Azure Account v0.12.0

I am sorry. Image upload fails.

eolver commented 2 months ago

@yk2492 fixed this issue although i am not using proxy

I did the following

Preferences > Settings > Extensions > Microsoft Account > Microsoft Enabled 'Use Msal'

Restarted VS Code and it resolved.

yk2492 commented 2 months ago

@eolver Thanks for the support! I enabled the 'Use Msal' setting and the problem was solved.

The 'Use Msal' setting appeared when I updated the VSCode version to 1.93.0.

yk2492 commented 2 months ago

Close the issue because the issue is resolved.

alexweininger commented 2 months ago

Thanks for the help @eolver! TIL about the new Use Msal setting.