> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Review users

> Decide what happens when a directory sync record matches a user who already exists in Iru: sync the existing user with the connection, create a separate user, or ignore the record.

## About Review users

When a connected source sends a user who looks like someone already in Iru, the
sync doesn't guess. It holds that record as a **user collision** and waits for
you to decide what to do with it. Until you decide, Iru doesn't create a user for the
record or change the existing user.

This keeps a new connection from overwriting a person another source already
manages, and from creating a second account for someone who already has one.
For example, you connect Google Workspace after you've already imported your
users from a CSV file. Each Google record whose UPN matches an imported user is
held on **Review users**, so you can choose to have Google Workspace take over
those users.

Review users applies to every [Directory Sync](https://docs.iru.com/en/identity/directory/directory-sync)
connection: [Google Workspace](https://docs.iru.com/en/identity/directory/google-workspace.md),
[Workday](https://docs.iru.com/en/identity/directory/hris-workday.md),
[BambooHR](https://docs.iru.com/en/identity/directory/hris-bamboohr.md), and
[inbound SCIM](https://docs.iru.com/en/identity/directory/inbound-scim.md).

## How It Works

On each sync, Iru compares every incoming record with the users already in your
directory. A record is held for review when it matches on one of these:

| Matched on | What it means |
| - | - |
| **UPN** | The incoming username and domain match an existing user's. Iru always checks UPN. |
| **User collision rule** | The record matches an existing user on every field in one of your [user collision rules](#set-up-user-collision-rules), such as primary email, or first and last name. |
| **Duplicate in** *connection* | Two records from the same connection match each other. Fix the duplicate in the source. |
| **SCIM write** | An inbound SCIM provider updated a user that another source manages. |

User collision rules are checked for new records only. A record that already
syncs a user is checked on UPN alone, so two people who share a name don't hold
up ordinary updates.

When a record matches, you'll see it in several places:

* The connection page shows a banner with the connection's name, such as
  **100+ users from HR Directory need your review**, with **Review users** and
  **Dismiss**
* On **Directory → Sync**, the connection's **Attention** column shows how many
  users need review
* The sync run lists each collision with its errors, with a link to **Review
  users**
* In the [activity log](https://docs.iru.com/en/identity/administration/activity-log.md), the latest
  sync run that found collisions still waiting on a decision shows **Succeeded,
  needs review**

A held record isn't invited, even when the connection's **Invites for new
users** is set to **Send**. Iru checks the record again on every sync until you
decide, so the list stays current as the source changes.

## Review a user

**1. Open Review users**

Navigate to **Directory** and select the **Sync** tab. Select the connection,
then select **Review users** under **Sync**. You can also select **Review
users** on the connection's banner.

**2. Find the users to review**

Each row shows the **Incoming user** from the source, the **Current user** it
matched in Iru (with the connection that syncs that user, if any), what it
**Matched on**, its **Status**, and when it was **Found**.

Use the menu above the list to show **All users**, the users who need review,
or the users you've resolved. To narrow the list further, type in **Search**
or select **Filter**. You can filter on status, what the record matched on, the
incoming or current user's username, first name, or last name, and the
external ID. To write the filter as an expression instead, switch from
**Standard** to **IQL**. Select a column header to sort
by **Incoming user**, **Current user**, **Status**, or **Found**. Status sorts
with the users who need review first.

**3. Open the user**

Select a row to open it in the **This user already exists in Iru** panel. The
panel shows the **Status**, the **Reason** (for example, **Matched on UPN**),
the incoming and current user, and when Iru found the match. Under
**Compare**, each attribute that differs shows the current value and the
incoming value side by side. To see every mapped attribute, select the
**Show all** link, such as **Show all 4 attributes**.

If the sync would change the user's Iru role, the panel warns you first. It
also tells you when the role stays as it is because the user is the account
owner or the mapping is set to **Don't overwrite**, and when the incoming role
doesn't match any role in Iru.

When a user collision rule matched more than one existing user, choose which
user the record belongs to.

**4. Choose an action and submit**

Under **Choose an action**, select one option, then select **Submit**:

* **Sync user with this connection:** this connection syncs the existing user
  from now on, and Iru applies the incoming values the same way a sync does
* **Create a separate user:** Iru creates a new user from the incoming record
  and leaves the existing user as they are
* **Ignore this user:** Iru doesn't sync the incoming record and leaves the
  existing user as they are

When you sync the user, a mapping set to **Don't overwrite** keeps the value
already in Iru. Iru doesn't ask about an ignored record again.

Use the arrows at the top of the panel to move to the previous or next user.

Iru then applies your decision to the held record. For a **SCIM write**,
**Sync user with this connection** also applies the update the provider sent.

**Create a separate user** isn't offered when the match identifies one person: a
UPN match, a SCIM write, or a rule that includes a unique attribute. Two users
can't share those values. A duplicate in the source never offers **Sync user with
this connection**, since both records come from the same connection.

## Review several users at once

Select the checkbox on each row you want, or select the checkbox in the header to
select every user that matches the current filter, across all pages. A bar
appears at the bottom of the list with how many users you've selected, such as
**4 selected**. Select **Clear** to clear the selection.

**1. Choose an action**

In **Choose an action**, select **Sync users with this connection**, **Create
separate users**, or **Ignore these users**. Each option shows how many of the
selected users it applies to, such as **3 of 4**. An action that doesn't apply
to any selected user is unavailable, with the reason below it.

**2. Submit and confirm**

Select **Submit**, review the confirmation, and confirm. Users the action
doesn't apply to stay in the list. For example, a user whose record matched
more than one existing user needs you to open it and choose the user.

To ignore one user without opening it, select **Ignore** in that row's
**Actions** column. Only users who need review have it.

## Statuses

The menu above the list shows **All users**, the users who need review, or the
users you've resolved. Each choice combines with any other filter you set.

| Status | What it means |
| - | - |
| **Needs review** | Waiting for your decision. |
| **Synced with this connection** | You chose to sync the existing user with this connection. |
| **Separate user created** | You chose to create a new user. |
| **Ignored** | You chose not to sync the incoming record. |
| **Taken over** | Another connection now syncs the matched user, so this connection's record was ignored. The panel names that connection. |
| **No longer applies** | The match no longer applies, so there's nothing to decide. |

## Set up user collision rules

UPN is always checked. User collision rules add more checks, so a record that
matches an existing user on other fields is held for review too. Rules apply to
every connection, in the order you list them.

**1. Open the rules**

Navigate to **Directory** and select the **Sync** tab. From the actions menu
(**…**) in the upper-right, select **User collision rules**.

**2. Add a rule**

Select **Add rule**, then pick one or more fields. You can use **Primary
email**, **First name**, **Last name**, and your custom attributes. Every
field in a rule must match for the rule to hold a record. Iru shows how many
current users already share those values, so you can see how broad the rule
is before you save it.

**3. Order and save the rules**

Use the arrows to move a rule up or down, or select **Remove** to delete it.
Select **Save**. The next sync of each connection uses the rules.

Each rule shows whether a match can become a separate user. A rule that includes a unique
attribute shows **No separate user**, since a match on it identifies one person.
Other rules show **Separate user allowed**, since two people can share a name or
other values.

> [!TIP]
>
> Start with UPN alone, then add a rule when you know two sources describe the
> same people differently. For example, a rule on **Primary email** catches people
> whose username differs between the source and Iru.

## Considerations

**A user stays with the source that syncs them.** A new connection doesn't take
over a user another connection, a CSV import, or an administrator created.
Choose **Sync user with this connection** to hand that user to the new
connection.

**Inbound SCIM providers see every user.** A provider can look up users that
another source manages, so it can match them. An update or delete it sends for one
of those users is answered with success, but Iru doesn't change the user. An
update is held as a **SCIM write** for you to review. See
[Connect SCIM](https://docs.iru.com/en/identity/directory/inbound-scim.md#scim-api).

## Related Articles

> [card] [Directory Sync](https://docs.iru.com/en/identity/directory/directory-sync)
>
> How each sync creates, updates, and removes users, and when it holds a record for review.

> [card] [Connect SCIM](https://docs.iru.com/en/identity/directory/inbound-scim.md)
>
> How a SCIM provider's write to another source's user becomes a review.

> [card] [Activity log](https://docs.iru.com/en/identity/administration/activity-log.md)
>
> Find the sync runs that found users waiting for review.

> [card] [Attribute mapping](https://docs.iru.com/en/identity/directory/attribute-mapping.md)
>
> Set the values a synced user receives, including **Don't overwrite**.


## Related topics

- [MDM-enabled users and user channel profiles](https://docs.iru.com/en/endpoint/library/library-items-profiles/mdm-enabled-users-and-user-channel-profiles.md)
- [Activity log](https://docs.iru.com/en/identity/administration/activity-log.md)
- [Directory Sync](https://docs.iru.com/en/identity/directory/directory-sync.md)
