# How to enroll a device in Hexnode via Microsoft Entra ID?

Microsoft Entra ID is a cloud-based identity and access management (IAM) solution. Hexnode’s integration with Microsoft Entra ID helps in enhancing the user sync options and policy assignments. The integration also adds the ability to enroll to Hexnode via Microsoft Entra ID. With the help of Microsoft Entra ID, Hexnode offers its users identity-based access management solutions and meets the requirements of growing enterprises.

The integration between Hexnode and Microsoft Entra ID also strengthens the overall security, with the help of features such as multi-factor authentication, single sign-on, etc. The IT admins can now have a secure and simplified device management system. To enroll devices with Microsoft Entra ID, you must first [configure Microsoft Entra ID in the Hexnode portal](https://www.hexnode.com/mobile-device-management/help/azure-active-directory-integration-with-hexnode-mdm/).

[![Configuring server settings and scheduling synchronization for Microsoft Entra ID through Hexnode UEM](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2023/12/Configuring-Microsoft-Entra-ID-from-Hexnode-UEM.png "Configuring Microsoft Entra ID from Hexnode UEM")](https://cdn.hexnode.com/mobile-device-management/help/wp-content/uploads/2023/12/Configuring-Microsoft-Entra-ID-from-Hexnode-UEM.png)

 Enrolling Android devices 
---------------------------

###  In the Hexnode UEM portal 

To enroll with Microsoft Entra ID,

1. Navigate to **Enroll > Platform-Specific > Android > QR Code, Email or SMS**.
2. Choose **Authenticated Enrollment**.
3. Select **Microsoft Entra ID User** under **Enrollment Request** or **Self Enrollment** based on the mode in which you want to enroll your device.
4. Choose the **Ownership** type and click **Next**.
5. Specify how you want to send enrollment requests – via SMS, Email, or both.
6. Select the **Domain** in which the user has to be enrolled.
7. Now, select the **User**, and click **Send**.

###  What happens on the device? 

1. Download the Hexnode UEM app on the device.
2. Open the app and enter the server address. You can scan the QR code also. The server address will be of the form “portalname.hexnodemdm.com”.
3. Now, a new page opens where the user is required to enter the username and password. Click **Next**.
4. Follow the on-screen instructions to complete the enrollment procedure.

[![Authentication screen on Android devices](https:2021/05/Authentication-screen-on-Android-devices.png)](https:2021/05/Authentication-screen-on-Android-devices.png)

 Enrolling iOS devices 
-----------------------

###  In the Hexnode UEM portal 

To enroll with Microsoft Entra ID,

1. Navigate to  **Enroll > Platform-Specific > iOS > Email or SMS**.
2. Choose **Authenticated Enrollment**.
3. Select **Microsoft Entra ID User** under **Enrollment Request** or **Self Enrollment** based on the mode in which you want to enroll your device.
4. Choose the **Ownership** type and click **Next**.
5. Specify how you want to send enrollment requests – via SMS, Email, or both.
6. Select the **Domain** in which the user has to be enrolled.
7. Now, select the **User**, and click **Send**.

###  What happens on the device? 

1. Install the Hexnode UEM app on your device.
2. Open the app and click on **Agree & Continue**.
3. Provide the server address and click **Next**.
4. This redirects you to your default browser where you can click on **Authenticate with Microsoft**.
5. Upon authenticating, a pop-up is displayed with the message “This website is trying to download a configuration profile. Do you want to allow this?” From the options **Ignore** and **Allow**, choose **Allow**.
6. Follow the on-screen instructions to enroll your devices in Hexnode.

[![Authentication screen on iOS devices](https:2021/05/Authentication-screen-on-iOS-devices.jpeg) ](https:2021/05/Authentication-screen-on-iOS-devices.jpeg)

 Enrolling Windows devices 
---------------------------

###  In the Hexnode UEM portal 

To enroll with Microsoft Entra ID,

1. Navigate to  **Enroll > Platform-Specific > Windows > Windows Phones** or **Windows PCs and Tablets**.
2. Choose **Authenticated Enrollment**.
3. Select **Microsoft Entra ID User** under **Enrollment Request** or **Self Enrollment** based on the mode in which you want to enroll your device.
4. Choose the **Ownership** type and click **Next**.
5. Specify how you want to send enrollment requests – via SMS, Email, or both.
6. Select the **Domain** in which the user has to be enrolled.
7. Now, select the **User**, and click **Send**.

###  What happens on the device? 

1. Open the web browser on the device.
2. Enter the enrollment URL. It will be of the form
    “portal-name.hexnodemdm.com/enroll”.
3. Click on the **Download** button and install the app.
4. Give the required permissions and select **Agree and Enroll**.
5. Now, click on **Sign in with Microsoft**. Enter the username and password to continue with the enrollment procedure.
6. Follow the on-screen instructions to enroll your devices in Hexnode.

[![Authentication screen on Windows devices](https:2021/05/Authentication-screen-on-Windows-devices-.png)](https:2021/05/Authentication-screen-on-Windows-devices-.png)

 Enrolling macOS devices 
-------------------------

###  In the Hexnode UEM portal 

To enroll with Microsoft Entra ID,

1. Navigate to  **Enroll > Platform-Specific > macOS > Email or SMS**.
2. Choose **Authenticated Enrollment**.
3. Select **Microsoft Entra ID User** under **Enrollment Request** or **Self Enrollment** based on the mode in which you want to enroll your device.
4. Choose the **Ownership** type and click **Next**.
5. Specify how you want to send enrollment requests – via SMS, Email, or both.
6. Select the **Domain** in which the user has to be enrolled.
7. Now, select the **User**, and click **Send**.

###  What happens on the device? 

1. Open the Safari browser.
2. Enter the enrollment URL. It will be of the form
    “portal-name.hexnodemdm.com/enroll”.
3. Click **Enroll**.
4. Now, click on **Authenticate with Microsoft**.
5. Upon authenticating with your username and password, the profile will be downloaded on your macOS device.
6. You can choose to install this by navigating to **System Preferences > Profiles > Install**. Upon doing so, the enrollment will be completed.

[![Authentication screen on macOS devices](https:2021/05/Enrolling-macOS-devices-via-Azure-AD-1024x640.png)](https:2021/05/Enrolling-macOS-devices-via-Azure-AD-1024x640.png)