Share via

Azure DevOps

Dr. O'Halloran 0 Reputation points
2025-09-03T02:14:10.2066667+00:00

Issue:

Consistent AADSTS50020 when signing into Azure DevOps as ******@mdsoft.com to access org https://dev.azure.com/md-soft/. Authentication keeps evaluating in the fairfaxent.com tenant, so my MD SOFT user “does not exist in tenant 'fairfaxent.com'”.

Error instances:

  • 2025-09-03T01:17:55Z — Request Id: fc1ce735-a99a-4211-b01c-7f580217cd55
  • 2025-09-03T01:23:35Z — Request Id: 28725951-d933-4cc4-bebc-34f9794c9b00, Correlation Id: 52e8a468-c140-4e67-a89a-4600709701d6
  • 2025-09-03T01:51:45Z — Request Id: 87d84a7f-cf3e-4905-a0a3-a21df6430a01, Correlation Id: 54944ac0-bdfb-405f-bb7e-27052e11fd6c

App/tenant details:

  • Azure DevOps app ID: 499b84ac-1321-427f-aa17-267ca6975798
  • MD SOFT tenant (where I belong): 33e603b6-3929-405d-b099-d8f43b76f476
  • Accounts:
    • Desired sign-in: ******@mdsoft.com (MD SOFT)
    • Other tenant involved: fairfaxent.com (I can sign in there as ******@fairfaxent.com)

Symptoms:

  • https://aex.dev.azure.com/me shows “Get started with Azure DevOps” for ******@mdsoft.com (no orgs listed).
  • https://dev.azure.com/md-soft/ throws AADSTS50020 referencing fairfaxent.com.
  • Even with tenant-scoped auth URLs, clean Guest/InPrivate profiles, and different networks, signin still evaluates in fairfaxent.com.

What I need:

  1. Confirm which tenant the Azure DevOps org “md-soft” is currently bound to.
  2. If it’s bound to fairfaxent.com, help either: a) complete/repair the B2B guest for ******@mdsoft.com (provide/verify redemption link) and add me to the org, then b) switch the org directory to MD SOFT (Organization settings → Microsoft Entra ID → Switch directory), OR c) rebind the org directly to MD SOFT.
  3. Verify if tenant restrictions / HRD policies are forcing DevOps sign-ins into fairfaxent.com and advise remediation.

Business impact:

Blocked from accessing company DevOps org and repos.

Azure DevOps

Your answer

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