Configure ADI: Manage users, groups, and passwords in JumpCloud

The JumpCloud Active Directory Integration (ADI) enables the syncing of users, groups, and passwords between JumpCloud and on-premise or off-premise AD. As covered in Get Started with the Active Directory Integration, the ADI uses two agents: an Import Agent and a Sync Agent that can be installed in three (3) configurations which are based on where you want to manage users, groups, and passwords.

  1. Manage users, groups, and passwords in AD.
  2. Manage users, groups, and passwords in JumpCloud.
  3. Manage users and passwords in either system, or both.

This article provides a step-by-step guide for configuring ADI to manage users, security groups, and passwords in JumpCloud. This configuration supports organizations looking to minimize their AD footprint or migrate away from AD completely. 

Important Considerations

  • Password complexity requirements in AD and JumpCloud should be as closely aligned as possible to avoid passwords being rejected and failing to sync due to not meeting the complexity requirements
  • Managing privileged user accounts, such as Domain Admins, in AD from JumpCloud isn’t supported
  • Connect Keys are one-time use keys required for installing the sync agent on a new AD server

Warning:

The Connect Key will expire in 7 days if it is not used.

  • Groups sync automatically from JumpCloud to AD when one or more sync agents are installed. This sync cannot be disabled
  • We strongly recommend installing and using LDAPS for the ADI. Configuring and using LDAPS on the Domain Controller that the Jumpcloud ADI agents will connect to secures any sensitive information that is exchanged between the Jumpcloud agents and the Domain Controller and protects against malicious users
  • When multiple AD sync agents are installed, one is designated as the primary agent by the ADI service. All create and change requests are sent to that agent. If that agent becomes unavailable, another active sync agent is automatically designated as the primary

Configuration

  • Use ADI sync agent only
  • Install agents on either domain controllers (DCs) or member servers
  • Assign users and user groups to the AD instance in JumpCloud

Use Cases

  • Use JumpCloud as the Primary Identity Provider (the source of truth) for user identities and groups and provide access to Cloud resources
  • You want users to only change passwords from the JumpCloud Use Portal or JumpCloud managed devices
  • Extend user access to the Cloud for one or more of the following:
    • Access to SaaS applications using industry standard protocols SAML 2.0, and OIDC, for SSO, and SCIM for provisioning, syncing and deprovisioning
    • Access to Cloud RADIUS for Wifi and VPN
    • LDAP based user auth for NAS drive mappings, networking gear, or logins to things such as kubernetes clusters
    • User provisioning, syncing, deprovisioning and access control to other Cloud Directories such as M365/ Entra ID and Google Workspace in real-time
  • Add support for a mixed OS fleet
  • Maintain an AD footprint but only for mission critical Windows servers, such as:
    • Business critical applications that must stay on-prem
    • File and printer servers that cannot go away
    • Domain Controllers, but likely fewer DC’s in fewer locations
  • Import users from Cloud solutions that are not compatible with AD, such as an HRIS system:
    • Import users into JumpCloud and then sync those users from JumpCloud into AD
  • You want to reduce the role of AD in your environment OR you are in the final phase of your migration away from AD

Workflow Details

Data syncs one-way from JumpCloud to AD
Passwords managed solely in JumpCloud
Users created, updated, and deactivated solely in JumpCloud
User (security) groups created and managed solely in JumpCloud
Group membership managed solely in JumpCloud

Benefits

  • Future Flexibility & Agility
    • Once a user identity is in the Cloud, it can be extended more easily
    • Option to take advantage of all capabilities available in JumpCloud’s Open Directory Platform with minimal effort, no need to find another point solution
  • Automated Offboarding
    • Deactivating a user in JumpCloud will automatically suspend the user in Active Directory within 5 seconds, resulting in a forced logoff on the user’s computer and the removal of access to the JumpCloud managed resources assigned to them, such as, SSO, RADIUS, LDAP, Password Manager, etc.
  • Easy deployment of non-Windows devices to users.
    • Let users pick between Windows, Mac or Linux, while still being able to enforce policies, push software, control OS patching, take remote control, and enforce MFA on that device
  • Simplified end-user computer management
    • Remove the need for AD Domain Controller connectivity for all end-user computers 
  • Users managed in the Cloud
    • You can create, suspend, manage users, passwords, and security group membership for JumpCloud. This saves you time by spent RDP’d into the DC’s and in the Active Directory Users and Computers (ADUC) interface
  • Migration path

Workflow for Managing Users, Groups, and Passwords in JumpCloud

JumpCloud Sync Only – Single Domain Workflow

JumpCloud Sync Only – Multiple Domain Workflow

When the JumpCloud ADI is configured for AD Sync only, the following is the general user identity workflow and expected behavior for any user, group, and password changes after AD sync agent have been configured. 

  1. User identities can be created and managed within JumpCloud only.
  2. Users must be connected directly to the ADI in JumpCloud or members of one or more user groups connected to the integration.
  3. Passwords must be changed within JumpCloud. After a password change, the new password is pushed to AD via the sync agent within 90 seconds.
  4. User Attribute changes must be done within JumpCloud. After any supported user attribute changes (First Name, Last Name, Username, E-mail, Password, User State – Enabled or Disabled), the JumpCloud sync agent will export these updates to AD within 90 seconds. 
  5. Disabling User Accounts in AD can be done in one of two ways:
    • Suspending users that are connected to the AD integration in JumpCloud. The JumpCloud Sync Agent will within 90 seconds disable the user in AD.
    • Removing the user from the ADI and from any groups that connect the user to the AD in the JumpCloud Admin Portal. 
  6. Removing user accounts in AD must be done manually in AD.

System Requirements

  • 64-bit Windows Server (versions 2012, 2016, 2019, 2022)
    • Server Core installation is also supported for Windows Server versions 2016, 2019, and 2022. You will need to include the /msiexec parameter when running the agent installer
  • 15MB disk space
  • 10MB RAM

Considerations

  • The user attributes that sync are:
    • First Name
    • Last Name
    • Username
    • Email
  • Non-standard ASCII characters are not supported in the Root User DN 
  • When updating an existing agent installation, only minimal installation screens are shown:
    • Upgrade Installation notes
    • Only minimal screens shown
    • Directory for where the installation should occur
    • Finish screen
  • Demoting a DC installation to a member server and promoting a member server installation to a DC aren’t supported. The agent(s) must be uninstalled first and then installed on the other type of server
  • The passwords for the server accounts used by the integration (e.g., jcimport and jcsync)should be rotated periodically for security reasons
  • As of ADI sync agent version 4.x, the following changes were made:
    • The default location for all agent related installation, configuration, and log files is C:\Program Files\JumpCloud\AD Integration\
    • The ADI sync agent can be installed independently of the ADI import agent
    • The ADI sync agent connect key is encrypted and the value in the registry is replaced with the encrypted value when the agent starts
  • The JumpCloud AD sync agent services use TLS for all communication. If no network connectivity exists to JumpCloud, the ADI won’t work properly 
  • The AD Domain and Root User container DN needs to match the Domain and Root User container configured for AD Sync
  • To validate the AD Import agent Root User container DN before you install the AD Sync Agent, see Installing the AD Import Agent: How to modify the Root User container used by AD Import
  • Each time you download an AD Sync agent, you receive a new Connect Key for that installation. Connect Keys are one-time use keys
  • Managing privileged user accounts, such as Domain Admins in AD, isn’t supported. AD flags privileged accounts with “adminCount=1” in the directory, which results in any inherited permissions granted to the JumpCloud AD agent services to be removed. This prevents JumpCloud from being able to effectively manage those privileged accounts

Installation Steps Overview

The main steps you will take to install and configure AD for this use case are:

  1. Complete the Prerequisite Checklist.
  2. Determine the Root User container in AD.
  3. Create the AD Sync Service Account.
  4. Delegate control for the AD Sync Service Account.
  5. Create an AD domain instance in JumpCloud.
  6. Select your configuration and download the agent.
  7. [Optional] Perform a one-time import of users from AD to JumpCloud.
  8. Run the AD Sync Agent Installation Wizard on AD servers.
  9. Verify AD sync.

Prerequisite Checklist

Before installing the ADI sync agent, we recommend completing each item in the following checklist before continuing:

  1. Know your AD Domain Admin credentials.
  2. Decide whether you want to install the sync agents on your AD domain’s non-DC Domain Member Servers or Domain Controllers (DCs).
    • If installing on DCs, we recommend that you install the AD Sync agent on your Primary DC and any DC impacted by extended replication delays
  3. Verify you have access to all DCs or non-DC Domain Member Servers in the AD domain.
  4. Ensure your DCs or non-DC Domain Member Servers are running on a JumpCloud supported 64-bit Windows Server version (2012, 2016, 2019, 2022).
  5. Verify DCs or non-DC Domain Member Servers have networking access to the internet and are able to communicate outbound to console.jumpcoud.com over HTTPS port 443. 
  6. Create a dedicated Administrator account in JumpCloud that is specifically for the ADI.

Important:

API tokens are specific to each Admin account. Create a separate account for this integration to prevent the possibility of breaking the ADI connectivity to your JumpCloud organization when an Admin account is deleted.

  1. Verify all users to be synced from JumpCloud to AD have a value for first name and last name in JumpCloud.
  2. Align password complexity requirements between AD and JumpCloud as closely as possible. Otherwise, passwords may not replicate if they’re rejected by the destination directory’s complexity requirements.
  3. [Strongly recommended] Install LDAPS.

Prepare for Installing the Agent

To export and update user attributes, passwords and security groups from JumpCloud to AD, you’ll need to install a JumpCloud AD sync agent on your AD domain’s non-DC Domain Member Servers (member servers) or Domain Controllers (DCs).  Complete the steps below to prepare for installing the agents on your server(s).

Determine the Root User Container in AD

You must specify the Root User Container during the JumpCloud AD sync agent installation. AD’s default ‘Users’ container (CN=Users) is pre-populated in the AD Users and Computers (ADUC) interface and labeled as “Users” as shown in the following image. 

If you want to use AD’s default Root User container, the value you will need to enter during the AD sync agent installation is:

  • CN=Users;DC=example;DC=com

If AD’s default Root User container (CN=Users) isn’t the Root User Container you want to use for your AD integration, follow the steps below to get the distinguishedName value you will need to enter during the AD sync agent installation. 

  1. Verify the full LDAP path for the chosen Root user container you have selected in ADUC:
    1. From the ADUC panel’s View menu, enable Advanced Features. 
    2. Right-click the container and select Properties. 
    3. Select the Attribute Editor tab. 
    4. Select the “distinguishedName” attribute, then click View.
    5. Note the value.  It will need to be entered during the AD sync agent installation. 

Create the AD Sync Service Account in AD

After you identify the Root User Container (‘Root user DN’)  that you want to use with your JumpCloud AD integration, create a new AD-based service account (standard user account) that allows the JumpCloud AD sync agent to manage users and groups.

  1. Open the ADUC Menu.
    1. Click start button and type “dsa” and click the Active Directory Users and Computers icon.
    2. Right click on the container and click New > User.

Note:

This user cannot:

  • Be a Domain Administrator.
  • Have the username of “JumpCloud”.
  • Be a member of the JumpCloud security group.
  1. Enter the following values for the JumpCloud Import Service Account user:
    1. First Name - JumpCloud
    2. Last Name - Sync
    3. User logon name - jcsync

Note:

Use jcsync to distinguish what this user is for and to which agent it is attached.

Warning:

The user logon name cannot be “JumpCloud”.

  1. Click Next
  2. Enter a password for the jcsync user and ensure that it is set to Never Expire since this will be a service account for the Sync Agent.

Note:

This password should still be rotated periodically for security reasons.

  1. Click Save.

Delegate control for the AD Sync Service Account in AD

  1. Navigate to the Root User Container in ADUC that you have selected, right-click the container and select Delegate Control. This launches the Delegation of Control Wizard.
  2. Click Next.
  3. Add the newly created service account user to the Delegation of Control Wizard.
  1. Click Next, then select the following tasks:
    • Create, delete, and manage user accounts
    • Reset user passwords and force password change at next logon
    • Read all user information
    • Create, delete, and manage groups
    • Modify the membership of a group
  1. Click Next, and then Finish.

Install the AD Sync Agent

Create an ADI instance in JumpCloud

Create a new ADI domain instance in JumpCloud if one does not already exist:

  1. Log in to the JumpCloud Admin Portal.
  2. Navigate to Directory Integrations > Active Directory.
  1. Click ( + Add ADI Domain ).
  2. Select Manage users and passwords in JumpCloud.
  1. Enter the name of an Active Directory domain that you want to integrate with your JumpCloud tenant. For example, “DC=example;DC=com”.

Important:

The “DC” must be in capital letters. Each value must be separated with a semicolon (;) not a comma. There should be no spaces. The domain case must be the same as it is in the AD import configuration file.

  1. Click Save.

Download the Sync agent

  1. Click Download Sync Agent.
  1. The Sync Agent installer will automatically save to your local Downloads folder.
  2. The Install Sync Agent modal appears and you will be presented with the AD Sync Agent Installation Connect Key. This is the unique one-time use key that is required to connect the Sync Agent to your JumpCloud Org and this AD domain Integration within JumpCloud. You will input this key during the AD Sync Agent install in the steps below. Click Copy and save it to a password manager for later use.
  1. Click Close.
  2. Click Configure ADI.
  3. A Details page will appear.
  1. Click Save.

Perform a one-time import of users from AD to JumpCloud (Optional)

If you need to import all your users or a subset of users from AD to JumpCloud, there are two options:

  1. Import users using a CSV
  2. Install the AD import agent and sync users

Option 1: Import users using a CSV

  1. Export all users you want created in JumpCloud to a .csv file
  2. Follow the instructions in Import Users from CSV with the PowerShell Module.

Option 2: Install the AD import agent and sync users

  1. From the Details tab of the Active Directory Domain instance you create above, expand the Manage users and passwords in either system, or both section.
  2. Click the checkbox for This is my use case.
  3. Click Download Import Agent.
  4. Follow the instructions in Configure ADI to Manage Users, Security Groups, and Passwords in AD.
  5. Add all users you want imported into JumpCloud into the ADI security group you created.
  6. Verify that the users were created in JumpCloud.
  7. Open Start > Control Panel > Programs > Programs and Features in AD.
  8. Uninstall the JumpCloud AD Import Agent.
  9. Click the Domain Agents tab in the Active Directory Domain instance in JumpCloud.
  10. Verify that all rows are in yellow(i.e no longer active).
  11. Click the delete button for each import agent.

Run the AD Sync Agent Installation Wizard

Now you are ready to install the JumpCloud Sync Agent on one or more member servers or your Primary DC and any DC within the domain impacted by extended replication delays.

  1. Browse to where you saved the AD Integration Sync installer file on your DC. 
  2. Right-click the file, then select Run as administrator.
  3. Once the Installer Wizard appears, click Next.
  4. On the Destination Folder screen, click Next.
  1. Select the type of server on which you are installing the agent, DC or non-DC member server, then click Next.
  1. If you chose Domain Controller, skip to step 10.
  2. If you chose Member Server as your server type, enter the information for the DC to which the member server should connect to sync data from JumpCloud to AD. We recommend using the FQDN for your DC.
  1. Confirm your LDAP connection type and decide if you want to allow the use of LDAP if the connection using secure LDAP fails.

Warning:

We STRONGLY recommend against allowing the use of LDAP if the connection using secure LDAP fails. LDAP is not secure and increases your potential risk of cyberattacks as it sends unencrypted data. Attackers can spy on the connection and intercept packets sent over the network. We STRONGLY recommend the use of LDAPS only for this integration.

  1. If you checked Allow insecure connection (LDAP) to a Domain Controller, if secure connection fails, you must confirm that you understand the risk before you can proceed.
  1. Enter in the Root User Container you noted in the  Determine the Root User Container in AD section above. If you’re using the default AD Root User Container, the value will be CN=Users;DC=company;DC=com. If you’ve chosen another Root User Container, enter the value you noted.
    • In this example, we’ve modified the Root User Container. The value is: OU=Corporate Users;DC=example;DC=com.

Note:

Case is important when entering the User Root DN, always use capital “OU”, “CN”, and “DC”.

  1. Enter the AD Sync Agent’s Service Account you’ve created. This should be the jcsync User Account you created in the Create the AD Sync Service Account section above. Then click Next.

Note:

Case is important when entering the Windows Login Domain, use the same case that was used when creating the AD domain instance in JumpCloud.

  1. Enter the Connect Key that was presented to you within the JumpCloud Admin Portal after downloading the AD Sync Agent. Then click Next.
  1. Finally, click the Install button to install the AD Sync Agent. This could take up to 3 minutes. 

Important:

We strongly recommend installing and using LDAPS for the ADI. Configuring and using LDAPS on the Domain Controller that the Jumpcloud ADI agents will connect to secures any sensitive information that is exchanged between the Jumpcloud agents and the Domain Controller and protects against malicious users.

Note:

You DO NOT need to reboot the servers after the AD Sync Agent installation.

Verify AD Sync

Once you’ve installed and configured AD Sync within your AD environment. You can easily verify that the JumpCloud AD Sync Agent is working. Please ensure the following are present and visible: 

  • The JumpCloud AD Sync Agent should be shown as green and active within the Admin Portal under Directory Integrations > Active Directory > Domain Integration > Domain Agents tab.

Important:

If the AD Sync Agent(s) are showing red or are in a non-connected state, please check services.msc to see if the service is running.

Next Steps

Please read the Use and Manage the Active Directory Integration article next.

Want additional assistance from JumpCloud? 

If you’re having issues with getting JumpCloud’s ADI working, try the Troubleshooting Guide.

JumpCloud now offers myriad professional services offerings to assist customers with implementing and configuring JumpCloud. If you’re looking for assistance with Migrating from AD, or to integrate AD with JumpCloud, we recommend you reach out to JumpCloud’s Professional Services team on the following page: Professional Services - JumpCloud.

Back to Top

List IconIn this Article

Still Have Questions?

If you cannot find an answer to your question in our FAQ, you can always contact us.

Submit a Case