microsoft / vscode-azure-account

Common Azure Login extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account
Other
138 stars 130 forks source link

Error when sign-in Azure account in VS Code #994

Closed JamesRuuu closed 1 month ago

JamesRuuu commented 2 months ago

Does this occur consistently? Repro steps:

1. 2.

Action: azure-account.loginToCloud Error type: ERR_HTTP_HEADERS_SENT Error Message: Cannot write headers after they are sent to the client

Version: 0.12.0 OS: win32 OS Release: 10.0.19045 Product: Visual Studio Code Product Version: 1.92.2 Language: en

Call Stack ``` AdalAuthProvider. extension.bundle.js:2:2494214 rejected extension.bundle.js:2:2491945 ```

Has anyone else had this problem? I'm experiencing this issue when signing into my azure account in vscode with the azure tool extensions. Does anyone have any solution for this?

alexweininger commented 2 months ago

Which extensions are you trying to use with Azure Account? Most Azure extensions have moved off of Azure Account for authentication, and moved to the built-in VS Code Microsoft authentication provider. The Azure Account extension will be deprecated soon. If you're able, uninstall the Azure Account extension.

If you can, try out the new command you can access from the Azure Resources view: image

AzCode-Bot commented 1 month ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!