How to switch accounts via VS Code Azure Account Extension
Solution 1:
There is no button that you can find to sign in or sign out in VS Code with Azure Account Extension. The extension works with commands from Command Palette.
In VS Code press Ctrl+Shift+p to see the command palette and write the symbol >
, after that you can see any command you need including the sign out
command to work with this extension.
Solution 2:
Use the shortcut Ctrl + Shift + P to bring up VS Code command palette
In the command palette prompt that appears type:
Azure: Sign Out
Solution 3:
The shortest way to achieve this in vscode is by pressing F1
to show the command pallet and then type azso
(Azure Sign Out), first letter of each word, and press enter.
Note that this "first letter of each word" also works with other commands, very handy if you're a keyboard/shortcut person.