# How to enroll a device in Hexnode with AD credentials?

Many organizations use Active Directory as their prime database. In spite of this, the IT admins of a company might have to manually add users to a lot of platforms to give access to corporate resources. However, Hexnode does not burden the IT department of a company with this task. Active Directory can be easily integrated with Hexnode.

All the users in AD will be automatically imported to Hexnode. Any changes made in AD will be reflected in Hexnode too. The IT team of a company no longer need to waste time adding/deleting AD users from Hexnode. Hexnode also allows users to enroll their devices using their AD credentials. They need not wait for the admin to create an account and give them the password. That is one less password to memorize!

Before you begin make sure that [AD has been integrated with Hexnode](https://www.hexnode.com/mobile-device-management/help/microsoft-active-directory-integration-with-hexnode-mdm/). Active Directory needs to be integrated with Hexnode to let users enroll their devices with their AD credentials.

[![AD integration with Hexnode MDM](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2021/05/integrating-AD-with-Hexnode.jpeg)](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2021/05/integrating-AD-with-Hexnode.jpeg)

Enroll Android devices with AD credentials 
-------------------------------------------

In Hexnode MDM Portal,

1. Navigate to **Enroll** > **Platform-Specific** > **Android** > **QR Code, Email or SMS**.
2. Switch to **Authenticated Enrollment**.
3. You can choose to send **Enrollment Request** or allow users to enroll using the option **Self Enrollment**. Select **AD User** under **Enrollment Request** or **Self Enrollment** to let users enroll using their AD credentials.
4. Choose the **Ownership** and click **Next**.
5. Specify the **Domain** and select the **User** to send enrollment requests via SMS, Email, or both.

###  On the device 

1. Download the Hexnode MDM app on your device.
2. Open the app and enter the server address or scan the QR code. The server address will be of the form “portalname.hexnodemdm.com”.
3. The user can proceed further by entering the username and password of their AD account.
4. If the **Ownership**/**Ownership type** is selected as **Let the user choose** (or **Allow user to choose**) the user will be asked to select the ownership of the device. They can choose between **Personal** and **Corporate**.
5. Follow the on-screen instructions to complete the enrollment procedure.

[![Enrolling Android devices using AD credentials](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2021/05/Android-AD.png)](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2021/05/Android-AD.png)

 Enroll iOS devices with AD credentials
---------------------------------------

In Hexnode MDM Portal,

1. Navigate to **Enroll** > **Platform-Specific** > **iOS** > **Email or SMS**.
2. Switch to **Authenticated Enrollment**.
3. You can choose to send **Enrollment Request** or allow users to enroll using the option **Self Enrollment**. Select **AD User** under **Enrollment Request** or **Self Enrollment** to let users enroll using their AD credentials.
4. Choose the **Ownership** and click **Next**.
5. Specify the **Domain** and select the **User** to send enrollment requests via SMS, Email, or both.

### On the device

1. Install the Hexnode MDM app on your device.
2. Open the app and click on **Agree & Continue**.
3. Provide the server address and click **Next**.
4. Next, authenticate with the username and password of the AD account and proceed.
5. If the **Ownership**/**Ownership type** is selected as **Let the user choose** (or **Allow user to choose**) the user will be asked to select the ownership of the device. They can choose between Personal and Corporate.
6. Follow the on-screen instructions to enroll your devices in Hexnode.

[![Enrolling iOS devices using AD credentials](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2021/05/iOSAD.png)](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2021/05/iOSAD.png)

Enroll macOS devices with AD credentials 
-----------------------------------------

In Hexnode MDM Portal,

1. Navigate to **Enroll** > **Platform-Specific** > **macOS** > **Email or SMS**.
2. Switch to **Authenticated Enrollment**.
3. You can choose to send **Enrollment Request** or allow users to enroll using the option **Self Enrollment**. Select **AD User** under **Enrollment Request** or **Self Enrollment** to let users enroll using their AD credentials.
4. Choose the Ownership and click **Next**.
5. Specify the **Domain** and select the **User** to send enrollment requests via SMS, Email, or both.

###  On the device 

1. Open the Safari browser and enter the enrollment URL. It will be in the format “portal-name.hexnodemdm.com/enroll”.
2. Read and agree to the terms of Hexnode EULA.
3. Click **Enroll**.
4. Enter the username and password of the AD account.
5. If the **Ownership/Ownership type** is selected as **Let the user choose** (or **Allow user to choose**), the user will be asked to select the ownership of the device. They can choose between **Personal** and **Corporate**.
6. Click **Submit**. The MDM profile gets downloaded.
7. To install the MDM profiles, click **Continue** and click **Install**.
8. Enter the Mac administrator’s username and password.

![](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2021/05/mac-device-end-behaviour.png)

 Enroll Windows devices with AD credentials
-------------------------------------------

In Hexnode MDM Portal,

1. Navigate to **Enroll** > **Platform-Specific** > **Windows PCs & Tablets/ Windows Phone**
2. Switch to **Authenticated Enrollment**.
3. You can choose to send **Enrollment Request** or allow users to enroll themselves using the option **Self Enrollment**. Select **AD User** under **Enrollment Request** or **Self Enrollment** to let users enroll using their AD credentials.
4. Choose the Ownership and click **Next**.
5. Specify the **Domain** and select the **User** to send enrollment requests via SMS, Email, or both.

###  On the device 

1. Open the browser and enter the Hexnode enrollment URL. It will be in the format “portal-name.hexnodemdm.com/enroll”.
2. Download and install the app on the device.
3. Read and agree to the Hexnode EULA and proceed.
4. If the **Ownership/Ownership type** is selected as **Let the user choose** (or **Allow user to choose**), the user will be asked to select the ownership of the device. They can choose between **Personal** and **Corporate**.
5. Enter the username and password of the AD account.
6. Click **Authenticate**.
7. Follow the on-screen instructions to complete the enrollment.

![Enrolling Windows devices using AD credentials](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2021/05/device-end-behaviour-windows.png)