# Configure Directory Identity Sources and Sync Users

Canonical: https://www.nsecsoft.com/en/docs/ping64-identity-access/iam/users/directory-identity-source/

Language: en-US

Updated: 2026-11-15T04:08:45.60821Z

An identity source synchronizes directory users, groups and related membership into the unified identity directory. Saving, testing a connection, previewing and running synchronization are separate steps; none alone proves users have synchronized or obtained application access.

This guide covers AD and LDAP directories. Identity sources and directory configuration under AD domain management are separate management entries. Even when they use the same directory, confirm their purposes, connections and scopes separately; do not assume one entry configures the other.

## Before You Begin

-   Confirm the administrator has the required identity-source viewing, configuration, preview and synchronization permissions. Synchronization and deletion may require additional permissions.
-   Confirm server, port, certificate, bind account, synchronization root, user and group scope, and filters with the directory administrator. The bind account needs appropriate directory-read permissions; protect its password according to organizational rules.
-   Ensure the platform can reach the directory and the certificate chain and hostname pass validation for the chosen secure connection. Prepare a limited pilot, test accounts and a change recovery plan.
-   Coordinate with other owners before changing a shared directory connection. Narrowing the scope or filters may cause previously synchronized users or groups to stop matching and affect their status and business access. Assess the impact first rather than testing against the entire directory.

## Configure and Test the Source

1.  **IAM > Identity Directory > Identity Sources**: In the identity directory of unified identity management, open identity sources and select **Add Identity Source**. Choose an AD or LDAP directory. An existing source's type cannot be switched directly in edit mode. The interface choices are **AD Domain Directory** and **LDAP Directory**.
2.  Under **Configure connection**, enter a name and choose whether to create or maintain a directory connection, or use an existing directory source. Saving the first mode creates or updates the connection; the second uses the selected source's connection configuration. Coordinate before using or changing a shared connection. The respective options are **Create or Manage a Directory Connection** and **Use an Existing Directory Source**.
3.  For a self-maintained connection, choose LDAPS or StartTLS and enter server, port, bind account and password; check certificate validation. When editing an existing connection, leaving the password blank retains it; enter a new password to replace it. For an existing directory source, verify the selected connection and its ownership.
4.  Under **Sync scope**, check the synchronization root, user and group scopes and filters. Decide whether to enable **Business User Delegated Auth** according to the organization's authentication design; do not assume synchronization alone requires it.
5.  Select **Test Config** and inspect the results. Correct failures and test again. Review the summary in the confirmation step and save. A successful test does not mean directory objects have synchronized or business login works.

## Preview and Synchronize

1.  Return to the source list, reopen the saved source and select **Preview Sync** in the confirmation step. A new source must first be saved. When editing, preview uses the saved configuration, not unsaved changes.
2.  Check connector status, additions, conflicts and other results. The page requests a preview of at most 200 objects; do not treat it as an item-by-item check of the entire directory. If conflicts appear, have an administrator confirm object mappings and the resolution before proceeding.
3.  After checking the pilot scope, select **Sync** from the source's action menu. A message that synchronization was triggered means a task was submitted, not completed. If a task is already running, wait and inspect its status. The interface notices are **Sync triggered** and **A sync task is already running**.
4.  Review synchronization status and last synchronization time. After completion, check expected users and groups in user management and inspect failures or conflicts. For missing objects, check scope, filters, bind-account read permissions and task results before adjusting and rerunning.
5.  Synchronized users who need application access still require an application access scope and verified authentication integration. Use [user accounts and application access](https://www.nsecsoft.com/en/docs/ping64-identity-access/iam/users/user-accounts/) to check the specified user or actual group, application status and controlled login. Synchronization does not automatically grant access to every application.

**Important when changing scope:** The preview is based on objects read at that time and does not fully list previously synchronized users and groups omitted by new scopes or filters. A preview without disabled items does not prove that a real sync will disable none. Synchronization can disable previously synchronized users or groups and affect existing user sessions and application access. Before changing scope, compare the existing synchronized inventory, intended scope and critical accounts with the directory administrator, and prepare an approved recovery plan. Test on a small scope, then verify users, groups and business access separately after synchronization.

**Conflicts and empty results:** The preview page shows a summary such as status, new objects and conflicts; it does not provide conflict details or a linking action. If a username or email matches an existing user, or a group name conflicts with an existing group, synchronization skips the conflicting object rather than automatically linking it. Even when the task completes, verify critical users, groups and memberships. Consult the directory administrator and technical support about conflicts; do not assume matching names identify the same object. If the synchronization reads no objects at all, it updates no objects and does not disable missing ones. A completed task therefore does not mean existing users were cleared. Check the scope, filters and read permissions, confirm the expected data, and synchronize again.

**Directory groups and application access:** For applications using OIDC, group-based authorization checks the user’s management group in identity management; it does not directly use synchronized directory group membership. A newly synchronized user initially has no management group. Synchronizing a directory group and selecting it in an application does not by itself grant its members access. For group-based access, first check and, in accordance with organizational requirements, set the user’s management group in User Management, then save the application’s specified access scope. Alternatively, select approved users directly in the application as needed. Assess the impact before changes and test with both allowed and disallowed accounts afterward.

## Changes and Troubleshooting

-   **Change connection or scope:** Determine whether the connection is shared, assess existing users, groups and business access, then save, retest, preview and inspect synchronization results.
-   **Connection test fails:** Check address, port, network, certificate chain and hostname, bind account and password. Do not ignore certificate problems to pass a test.
-   **Preview shows conflicts:** Do not expand the scope based only on the preview. Check mappings between directory objects and existing users and agree on a resolution.
-   **Task triggered but objects absent:** Check completion, scope, filters and read permissions. Successful submission is not successful synchronization.
-   **Synchronized user cannot access an application:** Check user status, application access scope, authentication integration and actual login separately. Synchronization or delegated authentication is not the same as an application grant.
