-
Notifications
You must be signed in to change notification settings - Fork 340
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
[Bug] WAM Error - Account has previously been signed out of this application. #4977
Comments
I should add that I've tried clearing out my browser cache (Internet Edge), running a repair on my Visual Studio installation, deleting all files in the AppData\Local\.IdentityService directory and doing multiple machine restarts - without success. The error keeps appearing. I do not have any third party Virus programs running on my machine (Windows 11). |
@markjercoates, since this is a MsalUiRequiredException what happens when you call the interactive API ? This error occurs when user has signed-out from the app and the only way to sign the user back is to call AcquireTokenInteractive. |
Thanks for your reply. Can you tell me what you mean by calling the interactive API? |
@markjercoates , did the error happen when your app calls a certain method in MSAL library, or did it happen just when you attempted signing in as a Visual Studio end user? |
@markjercoates, could you upgrade to Visual Studio Version 17.12 ? There was a fix released about a month back that addressed an issue with very similar symptoms. |
Thank you. I've upgraded to v 17.12 (preview) and this appears to have fixed the issue after several attempts. |
Library version used
n/a
.NET version
Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.11.5
Scenario
PublicClient
Is this a new or an existing app?
None
Issue description and reproduction steps
Using: Microsoft Visual Studio Community 2022 (64-bit) - Current - Version 17.11.5
Cannot sign into Visual Studio getting the following error:
WAM Error
Error Code: 0
Error Message: Account has previously been signed out of this application.
Internal Error Code: 540940121
Relevant code snippets
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response
The text was updated successfully, but these errors were encountered: