logo

Are you need IT Support Engineer? Free Consultant

Conflicting Users in Identity Provisioning: It's About Matching, Not Fighting

  • By sujay
  • 26/11/2026
  • 7 Views

Imagine you booked a hotel room online and arrive to check in. The receptionist tries to create a new guest record but receives an error: “Guest already exists.”

It turns out you're already in the hotel's system from a previous stay. The reservation is valid, but the hotel doesn't need a second version of you. Instead, it needs to find your existing record and update the reservation.

SAP Cloud Identity Services – Identity Provisioning (IPS) faces similar situations when provisioning users or groups that already exist in a target system. In this blog post, we'll explore what conflicts are, how IPS resolves them, common conflict-resolution scenarios and a few takeaways for troubleshooting and configuration.

 

What Is a Conflicting User?

 

A conflicting user is an incoming user whose creation fails because the value of an attribute that must be unique, such as a username or email address, already exists in the target system.

Consider this example:

1. You provision the user Joe Dow from Microsoft Entra ID to the Identity Directory (IDDS) target system with userName=JoeDow. As a result, the user is created.

 

2. You then provision a user from SAP SuccessFactors to the target system where a user with the same userName=JoeDow exists.

Conflict2.Png

 

3. The target rejects the second creation attempt because that username already exists. Instead, it updates the user.

Conflict3.Png

 

The incoming SAP SuccessFactors user is the conflicting user. IPS can attempt to resolve the conflict by identifying and updating the existing JoeDow.

Conflicts are not limited to multiple sources. They can also involve manually created users in the target system or different users within the same source system.

Note: A conflicting group follows the same principle. Its creation is rejected because an existing group already has a value, or combination of values, that must be unique.

The relevant attributes depend on the target connector and group type. For Identity Directory, the default for idds.group.unique.attribute is: [‘urn:sap:cloud:scim:schemas:extension:custom:2.0:Group'][‘name']

Application-specific groups can require additional matching attributes. Check the relevant connector documentation before configuring their conflict resolution.

 

How Conflict Resolution Works

 

Conflict resolution is configured on the target system. For Identity Directory, two properties are particularly important:

  • idds.user.automatic.conflict.resolution – Determines whether IPS should automatically attempt to resolve user creation conflicts. Default: true.
  • idds.user.unique.attribute – Defines the matching attribute (or combination of attributes) that IPS uses to locate an existing user after a creation conflict occurs. Default: userName. Other supported configurations include an email address or a combination of attributes. For example, userName,emails[0].value requires an existing user to match both values.

Both properties complement each other. One controls whether IPS attempts automatic conflict resolution. The other controls how IPS identifies the existing user. Automatic user conflict resolution is enabled when idds.user.automatic.conflict.resolution is true or is not configured. This property controls user conflicts, not group conflicts. For more information, see List of Properties.

The attribute that causes the conflict and the attribute used to resolve it are not necessarily the same. For example, the user creation may fail because an email address already exists and must be unique, while IPS searches for the existing user using userName matching attribute.

 

Three Practical Scenarios

 

The following scenarios assume idds.user.unique.attribute=userName and valid incoming user data. They compare the outcomes when idds.user.automatic.conflict.resolution is set to true or false.

 

ScenariosAutomatic resolution enabledAutomatic resolution disabled

A. JoeDow already exists. The creation of the incoming user conflicts with the existing JoeDow account.

IPS searches for userName=JoeDow, identifies the existing user, and attempts to update it.

IPS does not perform a conflict-resolution search. Provisioning fails and the existing JoeDow account is not updated.

B. JaneS is a new user.  Neither her userName nor any other unique attribute conflicts with an existing account.

IPS creates JaneS normally.IPS creates JaneS normally. There is no conflict to resolve.

C. JaneS has an email conflict.  Her email address already belongs to an existing user with a different userName, and email uniqueness is enforced.

IPS searches for userName=JaneS. No matching user is found, so conflict resolution fails.

IPS does not perform a conflict-resolution search. Provisioning fails after the creation conflict occurs.

 

If you set idds.user.automatic.conflict.resolution=false, scenarios A and C fail because user creation encounters a uniqueness conflict. IPS does not attempt to locate an existing user.

Conflict4.Png

Scenario B remains unchanged because no conflict exists in the first place.

 

Key Takeaways

 

  • A conflicting user or group is an incoming identity whose creation encounters a uniqueness conflict with an existing target identity.
  • A new identity without a conflict can be created normally.
  • Conflict-resolution properties define how IPS searches for the existing identity.
  • The conflicting attribute can differ from the configured matching attribute.
  • After a creation conflict, if the search cannot identify the existing identity, provisioning fails.
  • Connector versions, group types, and configuration affect the matching behavior.

 

Handling conflicts correctly means knowing when to create a new identity, when to update an existing one, and when further investigation is needed.

Or, to put it another way, before provisioning an identity to a target system, IPS asks one simple question:

“Have we met before?”

 

 

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Chat with us on WhatsApp!