VS reports "That Microsoft account doesn't exist. Enter a different account or get a new one.".

Stephen Sayers 0 Reputation points
2023-07-26T11:35:36.2066667+00:00

VS 2019 today started prevent me from logging in to the DevOps repository used to store source code.
One issue that was affecting the logon was the existence of a duplicate Microsoft account, "Personal account" with the same email address as the "Business Account". That personal account has now been updated so that the email is different from the business account email address.
That has left me in a situation where I can use that business email account to log onto Azure via Edge, dev.azure.com to check our repositories, via Edge, this site, Outlook on Chrome, Teams, and each is functioning normally.
However when I load VS2019 I get the account selection form:
Image1

After selecting that account, I get the "That Microsoft account does not exist" message:
Image2

If I try the Create One link, I'm told that "You may already have an account",
Image3

What's broken, and how can I fix it?

What's broken, and how can I fix it?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,891 Reputation points Microsoft Vendor
    2023-07-27T02:54:52.7666667+00:00

    Hi @Stephen Sayers

    Welcome to Microsoft Q&A! 

    How did you sign in account? 

    Please try the following steps:

    1. Close all running VS instances.
    2. Update VS2019 to the latest version with Visual Studio Installer.
    3. Delete your browser history, cache and cookies.
    4. Delete all files of %localappdata%\.Identityservice.
    5. Relaunch Visual Studio and sign in account. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments