---
title: Adding Devices Automatically
slug: singleconnect-reference-guide-3-1-0/adding-devices-automatically
description: Learn how to define and enable the LdapDeviceImportJob in Single Connect, which synchronizes devices and device groups from Active Directory. This document provides step-by-step instructions and tips on integrating Active Directory changes with Single Con
docTags: 
createdAt: 2022-08-03T10:44:12.000Z
---

There is a job (LdapDeviceImportJob) that runs on Single Connect in order to synchronize devices and device groups from the Active Directory. This job runs periodically and integrates the changes made to the Active Directory with Single Connect, since the job last ran, meaning any device added/removed from the inventory is directly added/removed from Single Connect as well.
To define the LDAP Device Import Job:

1. Navigate to **Administration** > **Jobs Scheduler**.
2. Open the **Trigger List** tab.
3. Select **LdapDeviceImportJob** as the Job.
4. Fill in the **Trigger Name&#x20;**&#x61;nd **Cron Expression** fields.
5. To enable the job, select **Enabled** for the **Active** field and click **Save**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/FZ3FB_cAaIrpOH8AVSdpI_image.png "Add LDAP Device Import Job")

The automated job period can be changed by editing the cron expressions.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/iazlmTFweWvfo2muLMO-b_image.png "Edit LDAP Device Import Job")
