Multiple active identity with same UPN error when connecting DevOps to Entra

Michael Glover 36 Reputation points
2023-12-19T15:04:17.5733333+00:00

We are attempting to connect our Azure DevOps organization to our Microsoft Entra according to this page: https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/connect-organization-to-azure-ad?view=azure-devops#connect-your-organization-to-your-azure-ad

During the process we receive the "Tenant switch failed on a precondition, with the following message: 1 of 94 total users has multiple active identities with the same UPN. Please either remove the duplicates or change the UPNs to be unique."

We have gone over the identities by hand several times. We identified and removed several duplicates, but we cannot find this last one.

Is there a way to have someone identify the duplicate identity?

Organization: https://cnoappdev.visualstudio.com/

Azure subscription ID: 5a570a16-1335-4c01-a471-546b636cea9e

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Thameur-BOURBITA 36,261 Reputation points Moderator
    2023-12-19T15:19:40.5266667+00:00

    Hi @Michael Glover

    Are you using Entra Connect to sync on-premise users to ENtre ID ?

    In this case I think all duplicate UPN should be in error.

    Get-MsolDirSyncProvisioningError -ErrorCategory PropertyConflict -PropertyName UserPrincipalName
    

    I invite you to read the following article:

    Identity synchronization and duplicate attribute resiliency


    Please don't forget to accept helpful answer and close this thread


  2. James Hamil 27,211 Reputation points Microsoft Employee Moderator
    2024-03-15T19:27:34.7966667+00:00

    For future users: Please refer to this thread for more information on this problem.

    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.