-
Notifications
You must be signed in to change notification settings - Fork 131
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
Cannot use Azure Sign Out #901
Comments
I'm having the same issue on Mac. I accidentally signed in with the wrong work account and I can no longer access subscriptions, as shown under RESOURECES, related to my other work account.
Are there any workarounds to clear the sign in? |
Sorry about this, we've recently updated the extensions and the Azure Resources extension to use the built-in VS Code Microsoft authentication. Learn more about this move in the Azure Resources v0.8.0 release notes. From now on, you can sign out like so: We will release an update soon to Azure Account that adds a note to the readme alerting users of this change. |
Just an update, I was able to clear the account from VS Code by revoking all my sessions from AAD. I can now get the correct subscriptions under resources. |
Thanks for the update and I'm glad you got it working. If it happens again let us know and open a new issue. |
@alexweininger , I have 2 work accounts. One is used for regular work - that I use to sync settings - and other one for Azure resources. I don't see any way to add another account in VS Code authentication. Signing out and singing in every time I need to work is not feasible. |
This is a very valid scenario that we probably need to support. I will look into any workarounds for you and if I can't find any, we will need to add support for multiple accounts. |
@zendu I think I found a solution. You can sign in to both accounts by calling the "Sign In" command from the command palette. Make sure it's the command contributed by the Azure Resources extension with the id From this menu select "Sign in to another account" Once finished, you will have two accounts added. And you will be able to access the subscriptions on the second account. |
having the same issue, i try to logour with the signout button, with the comand pallete, with the console, and finally uninstalling the extension. |
Do you have an Entra Admin you can reach out to? They can revoke all your sign-ins, which will clear out that problem. Luckily, I was the admin in the directory I had an issue with. The only downside is you'll need to re-authenticate everywhere for that account. |
@TomasCaruso10 did you try the steps in this comment for how to sign out? If you could record a video, that will help me diagnose your problem. |
After trying many times, finally i managed to log out from my windows computer, and that kind of “temporaly” solve the problem. |
The above workaround worked |
Please update the extension, removing the commands that do not work. I spent hours before finding this issue. Or if the non-working command is invoked, then show a dialog. Thank you! |
Not working till this day, I want to attach both accounts to my vs code, got both account hocked but can only find resource for one =C |
Does this occur consistently?
Repro steps:
Version: 0.11.6
OS: linux
OS Release: 5.15.0-89-generic
Product: Visual Studio Code
Product Version: 1.84.2
Language: en
The text was updated successfully, but these errors were encountered: