prompty icon indicating copy to clipboard operation
prompty copied to clipboard

Unable to disconnect from Microsoft account in Visual Studio Code after first login

Open AClerbois opened this issue 1 year ago • 3 comments

I encountered an issue when using the Prompty extension in Visual Studio Code.

Steps to reproduce:

  • Install the Prompty extension in Visual Studio Code.
  • Start a new run, which prompts you to log in using a Microsoft account to interact with Azure.
  • After successfully logging in, try to log out of the Microsoft account.
  • The Microsoft account does not appear under the "Accounts" menu in Visual Studio Code, making it impossible to disconnect.

Expected Behavior:

There should be an option to disconnect from the logged-in Microsoft account, either in the "Accounts" menu or directly within the Prompty extension settings.

Actual Behavior:

There is no visible option to log out of the Microsoft account after logging in the first time. The account is not listed in the "Accounts" section of Visual Studio Code.

Environment:

Visual Studio Code version: 1.94.2 (user setup) Prompty extension version: v0.1.2024060511 OS: Windows 11 (Windows_NT x64 10.0.22631)

AClerbois avatar Oct 23 '24 07:10 AClerbois

OK - this makes sense to me.

sethjuarez avatar Oct 24 '24 16:10 sethjuarez

Is there a workaround for this?

ghost avatar Dec 11 '24 19:12 ghost

Yes - the best way (I think) is to do this (let me know if this works):

Image

sethjuarez avatar Jan 15 '25 18:01 sethjuarez