Share via

While we are updating the XML through the admin portal, we are getting the duplicate entry in the entra.microsoft.com (App registration)

Bhargavi Venkata Reddy 0 Reputation points
2026-05-07T06:35:13.2566667+00:00

We are getting a duplicate entry in the entra portal while we are updating the existing xml by Admin.

Microsoft 365 and Office | Development | Microsoft 365 Publishing
0 comments No comments

2 answers

Sort by: Most helpful
  1. Bhargavi Venkata Reddy 0 Reputation points
    2026-05-07T13:01:56.41+00:00

    But we didn't change the entraid we have changed the only version number and removed the scope inside the webaddininfo and reuploaded the XML at that time we are getting the Duplicate XML in the entra app registration.

    Was this answer helpful?


  2. Hani-Ng 11,315 Reputation points Microsoft External Staff Moderator
    2026-05-07T07:31:16.81+00:00

    Hi Bhargavi Venkata Reddy

    Based on my research and understanding, this behavior occurs when Entra ID interprets the updated XML file as a completely new application rather than an update to your current one. When a new SAML/Enterprise Application is created, Entra ID automatically generates a corresponding App Registration, which is why you see duplicates there.

    This usually happens for:

    • Identifier Mismatch: The Entity ID (Identifier) in your new XML differs slightly from the existing app (even a minor change like an extra slash / or different capitalization will trigger a duplicate).
    • Upload Method: The XML is being uploaded via a "Create new application" flow rather than being applied directly to the existing app. (Note: If a third-party admin portal is pushing this XML automatically via API, it may be sending a "Create" command instead of an "Update" command).

    To safely update your metadata moving forward, you can follow these steps:

    • Go to Microsoft Entra ID > Enterprise Applications.
    • Search for and click on your existing application.
    • Select Single sign-on > SAML from the left menu.
    • Click Upload metadata file directly at the top of this page. (Ensure the Entity ID in the XML exactly matches what is currently in Entra).

    Before deleting anything, please check the Sign-in logs and Users and groups assignments for both the old and new applications. Once you verify which application is actively handling your authentication traffic, you can safely delete the unused duplicate.

    For your information:

    Enable SAML single sign-on for an enterprise application - Microsoft Entra ID | Microsoft Learn

    Apps & service principals in Microsoft Entra ID - Microsoft identity platform | Microsoft Learn

    I hope this information helps, and if you have any question, please feel free to ask via comment section.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    I hope this information helps.

    Was this answer helpful?


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.