Share via

Azure devOps OID conflict

Ronny Ramdhan [Admin] 0 Reputation points
2025-09-29T17:02:11.8833333+00:00

I have an like this :UPN: OIDCONFLICT_UpnReuse_4920ad.....
The user can not be remove from the ui, nor az, nor shell, nor graph.

How can I remove the user of who can help me with that?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

3 answers

Sort by: Most helpful
  1. Yurii Popov 6 Reputation points
    2026-01-01T17:53:27.8+00:00

    Simplest way is creating Support ticket and in 1-2 days the issue might be fixed. But if you don't want to wait, you can do it yourself too. Check instructions here: https://www.linkedin.com/posts/yuriy-v-popov_azuredevops-devops-oidconflict-activity-7412549794000220160-b4oH

    Was this answer helpful?

    0 comments No comments

  2. Aditya N 2,990 Reputation points Microsoft External Staff Moderator
    2025-10-06T11:54:20.99+00:00

    Hello Ronny,

    Thank you for reaching out to Microsoft Q&A.

    OIDCONFLICT error generally indicates an issue with how the user's identity is being managed or synchronized.

    Please try below steps to resolve the issue :

    1. Check User Identity in Entra:

    Ensure that the user’s identity in Azure Active Directory is correctly configured and that there are no duplicate accounts or conflicting identities.

    • Go to the Azure portal and navigate to Azure Active Directory > Users.
    • Search for the user and review their profile to ensure there’s only one user account with the same UPN (User Principal Name).
    1. Review and Resolve Identity Conflicts:
    • The OIDCONFLICT error suggests there might be a conflict with the user’s Object ID (OID). In this case, you might need to resolve identity conflicts or synchronization issues.
    • If the user has been synchronized from on-premises to Entra, ensure that the synchronization is correctly set up and that there are no conflicts.
    1. Remove the Duplicate User in Azure DevOps:
    • Sign in to Azure DevOps with an account that has the necessary permissions.
    • Navigate to your project and go to Project settings > Permissions > Users.
    • Search for the duplicate entries, if found any then remove the conflicting one. Be cautious to remove the correct one to avoid disrupting access.
    1. Synchronize or Refresh Azure DevOps:
    • After resolving the issue in Entra please synchronize or refresh Azure DevOps to reflect the changes.
    • You can do this by waiting for automatic synchronization or manually updating user information if needed by running the command Start-ADSyncSyncCycle -PolicyType Delta

    Please let us know if you need any further assistance.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Thanks,

    Aditya

    Was this answer helpful?


  3. Luis Arias 9,536 Reputation points Volunteer Moderator
    2025-10-03T10:12:44.73+00:00

    Hello Ronny,

    Welcome to Microsoft Q&A, It looks like you're stuck with an OID conflict user that can't be removed through any standard method. This error means Azure DevOps detects a reused UPN tied to a different Object ID, causing identity conflict. ˆThis may be caused by AD sync, especially if a user was deleted and recreated in Microsoft Entra ID or migrated between tenants. Azure DevOps caches identity mappings, and if the original identity wasn’t fully purged, it blocks removal.

    To resolve:

    • If AD sync is active: delete the user in on-prem AD, then run Start-ADSyncSyncCycle -PolicyType Delta to sync the deletion.
    • If AD sync is not configured: verify the user object in Microsoft Entra ID and ensure no duplicate or stale identities exist. If the conflict persists, Azure DevOps support must manually clean backend identity references.

    If the user still appears in Azure DevOps, it may be cached or linked via legacy identity references. In that case, open a support ticket with Microsoft to manually clean up the backend identity mapping.

    References:

    If this resolves your question, please accept the answer.

    Luis

    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.