Stale Azure DevOps identity causing duplicate identities and login loop after domain federation

ilter 20 Reputation points
2026-06-30T09:15:27.4666667+00:00

Title

Stale Azure DevOps identity for ******@xxxiq.com causing duplicate identities and login loop after domain federation

Description

We migrated users from Microsoft 365 to Google Workspace and federated the xxxiq.com domain in Microsoft Entra ID.

One user, Taxxx Zuxxx ******@xxxiq.com, is affected in Azure DevOps organization kekik.

Problem

The user can sign in to Azure Portal successfully, but Azure DevOps goes into a login loop.

When we try to add the user to the Azure DevOps organization, the user picker shows two identities for the same person:

  • Taxxx Zuxxx user:PII\\******@xxxiq.com
  • Taxxx Zuxxx ******@xxxiq.com

This appears to be a stale Azure DevOps identity record or duplicate identity mapping.

Verified Entra details

  • Live Entra user object ID: PII
  • UPN: PII
  • Account enabled: true
  • User type: Member

Sign-in evidence

Recent Microsoft Entra sign-in logs show Azure DevOps sign-ins reaching Entra successfully for this user, and Conditional Access is not blocking the user.

Examples:

  • 6/26/2026 11:58:23 AM UTC
    • App: Azure DevOps
    • User: Taxxx Zuxxx ******@xxxiq.com
      • Result: success after 50140 Keep me signed in interrupt
      • Correlation ID: cd0337f5-aa94xxx7513871beb5
      • Conditional Access: notApplied
  • 6/26/2026 12:00:11 PM UTC
    • App: Azure DevOps
    • User: Taxxx Zuxxx ******@xxxiq.com
      • Result: success
      • Correlation ID: PII
      • Conditional Access: notApplied

Troubleshooting already completed

  • Removed the user from Azure DevOps organization kekik and re-added multiple times
  • Confirmed the Entra account is valid and enabled
  • Confirmed the user can sign in to Azure Portal
  • Confirmed Azure DevOps sign-in reaches Entra successfully
  • Confirmed duplicate identity selection still appears in Azure DevOps user picker

Request

Please investigate and remove or merge the stale Azure DevOps identity record for ******@xxxiq.com, so that only the current Entra-backed identity remains:

  • user:PII\\******@xxxiq.com

Please confirm whether backend identity cleanup is required on the Azure DevOps side.

Azure DevOps
0 comments No comments

Answer accepted by question author
Vallepu Venkateswarlu 10,595 Reputation points Microsoft External Staff Moderator
2026-06-30T09:33:36.0833333+00:00

Hi ilter,

Welcome to Microsoft Q&A Platform.

As discussed, We removed the affected user from the Azure DevOps organization and added the user back with a valid Object ID (OID). You have confirmed that the issue has been resolved and that you are now able to access the Azure DevOps portal successfully.

Please210246-screenshot-2021-12-10-121802.pngand “up-vote” wherever the information provided helps you, **this can be beneficial to other community members.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Christos Panagiotidis 3,566 Reputation points
    2026-07-18T10:40:20.7033333+00:00

    Successful Entra sign-ins show authentication completes; the loop is likely Azure DevOps identity resolution. In Organization settings > Microsoft Entra ID, run Resolve for disconnected users and match the current Entra object ID.

    Before removing anything, list Azure DevOps Graph users and compare descriptor, originId, and principalName. Keep the record whose originId equals the live Entra object ID. Disable only the other descriptor. Do not delete by email because both records share it. Graph delete disables an identity; it does not merge history.

    Then clear the user's browser sessions, use a private window, select Work or school account, and sign in again. Re-add the surviving identity if needed and restore its groups and license. If Resolve cannot distinguish the duplicate, open an Azure DevOps support case with both descriptors, the live object ID, organization name, correlation IDs, and timestamps. Microsoft specifically recommends support for unresolved duplicate UPN mappings.

    Was this answer helpful?

    0 comments No comments

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.