Cannot sign in to organization azure devops with work account - “Microsoft Account does not exist”

McLean, James (Manx Telecom) 6 Reputation points
2021-09-08T13:30:41.827+00:00

Hi folks,

I’m trying to login to our organization azure devops using my organization email address (from azure ad) but 99% of the time it redirects me to login.live.com and says ‘That Microsoft account doesn’t exist’. I can login to https://aex.dev.azure.com/me fine and I see the list of projects displayed under the organization but when I click any of the links I get redirected to login live and it won’t let me login. Eventually, after a few link clicks it starts displaying a 500 error. On the occasions where I do get logged in I then get a popup on every page request either showing ‘That Microsoft account doesn’t exist’ or 500 errors.

I flagged this in the Azure DevOps community support (https://developercommunity.visualstudio.com/t/cannot-sign-in-to-organization-azure-devops/1434716) but they determined that it is an issue with the account and instructed me to raise the issue here.

The whole issue originated when I previously had a personal MSA using my work email address for my visual studio enterprise license and access to Azure DevOps (when it was VSTS). When we were finally able to attach visual studio licenses and azure devops access to our work account I shifted my visual studio enterprise license to my work account, removed my azure devops access for the personal MSA, went through the process to delete the MSA and then had my work account added to our Azure DevOps organisation.

I’ve tried completely signing out of the work account using https://aka.ms/vssignout as well as the sign out button at aex.dev.azure.com (https://aex.dev.azure.com/_signout). I’ve also tried signing in using InPrivate browser windows (on multiple computers) and I've also tried deleting the work account from azure devops but I’m still getting the same problem.

Please can somebody help me resolve the issue as it's really starting to impact my work and I'm at a loss as to what to do next.

Many thanks,
James

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,158 questions
{count} vote

2 answers

Sort by: Most helpful
  1. James Hamil 26,981 Reputation points Microsoft Employee
    2021-09-10T21:54:40.493+00:00

    Hi @McLean, James (Manx Telecom) , this is most likely going to need a support ticket. I can get you a free one if you email azcommunity@microsoft.com with subject "ATTN: James Hamil" and attach your subscription ID.

    Best,
    James


  2. McLean, James (Manx Telecom) 6 Reputation points
    2021-11-28T22:28:44.687+00:00

    Useful info in case anyone comes across this post, when we came to shift our organization to AAD authentication, Azure DevOps chucked an error because of this weird ghost account of mine. The account didn't show up in the list of users to manage in the GUI so I couldn't delete it that way however when I checked via the api I found it and was able to delete it which not only resolved the AAD issue but also resolved the original issue anyway https://learn.microsoft.com/en-us/rest/api/azure/devops/graph/users?view=azure-devops-rest-6.0

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.