Skip to main content

Set up Oloid DeviceLock on Android using Microsoft Intune (MDM)

This document provides step-by-step instructions to setup the Devicelock app using Microsoft Intune (MDM).

Introduction

This document explains how to set up the Oloid DeviceLock app on Android devices using Microsoft Intune (MDM). It covers device enrollment, app installation, auto-pair configuration, and kiosk mode setup to enable secure and managed device usage.

Once configured, devices are enrolled in Intune, the DeviceLock app is installed and paired automatically, and kiosk mode ensures the device runs only the configured application.

Prerequisites

Steps to Enroll and Set up the Oloid DeviceLock app using Microsoft Intune (MDM)

Enroll Device and Install Oloid DeviceLock App

Create an Intune Device Group

This section explains how to create a dynamic device group in Microsoft Intune. The group automatically includes devices enrolled using a specific enrollment profile, enabling easier app and configuration assignment for DeviceLock setup.

Do the following.

  1. Log in to Microsoft Intune Admin Account.

    The Microsoft Intune home page is displayed.

  2. Select Groups.

    The Groups|Overview page is displayed.

  3. Click New group to create a new group for Intune users and devices.

    The New Group page is displayed.

  4. Do the following.

    1. In Group type, select Security.

    2. Enter Group name.

    3. Enter Group Description (Optional).

    4. In Membership type, select Dynamic Device.

      Note: Anyone can scan the QR code and enroll device.

    5. Click Add dynamic query.

      The Dynamic Membership rules page is displayed.

  5. Click Configure rules and do the following:

    1. In Property, select enrollmentProfileName.

    2. In Operator, select Equals.

    3. Enter Value.

      Note: This will be the name of the Device Enrollment Profile which we will create in the next step.

    4. Click Save.

      The New Group page is displayed.

  6. Click Create.

    The Group is created successfully.

  7. Go to Groups | Overview, click the number to the right of Dynamic groups to view all the Dynamic groups.

    The All groups page is displayed.

  8. The newly group is added in the list.

    The Device Group is successfully created.

Create Device Enrolment Profile

This section explains how to create an Android enrollment profile in Microsoft Intune for corporate-owned dedicated devices.

Do the following.

  1. Go to Microsoft Intune Admin Centre home page.

  2. Select Devices.

    The Devices | Overview screen is displayed.

  3. Go to Device onboarding > Click Enrollment.

    The Devices | Enrollment page is displayed.

  4. Click Android > Select Corporate-owned dedicated devices.

    The Corporate-owned dedicated devices page is displayed.

  5. Click + Create policy.

    The Create profile page is displayed.

  6. Click Basics tab and do the following.

    1. Enter Name.

    2. Enter Description (Optional).

    3. In Token Type, select Corporate - owned dedicated device (default).

    4. Select Token Expiration Date.

    5. In Apply Device name template, select Yes or No.

    6. (Optional) If you select Yes, enter the device name template.

      Note: The value entered in Device name template must match the name used in the dynamic query rule for the device group created in the previous steps.

    7. Click Next.

      The Device Group screen is displayed.

  7. Click Next.

    Note: Ensure that None is selected.

    The Review + create screen is displayed.

  8. Review the details and click Create.

    The Create profile page is configured successfully.

  9. Go to Corporate-owned dedicated devices > select Enrollment Profile

    Note: Select the enrollment profile that you created in above step.

  10. Select Token > click Show token to view enrolment QR code.

    The QR code is displayed.

  11. Scan the QR code after factory resetting your Android device to enroll.

    Note: The device automatically becomes a member of the Oloid_DeviceLock_Kiosk group created earlier.

    The Device Enrolment Profile is created successfully.

Add DeviceLock Android App

This section explains how to add and assign the Oloid DeviceLock app from Managed Google Play in Microsoft Intune. The app is configured as required so that it is automatically installed on enrolled Android devices.

Do the following.

  1. Go to Microsoft Intune Admin Centre home page.

  2. Click Apps.

    The App | Overview page is displayed.

  3. Click Android.

    The Android | Android Apps page is displayed.

  4. Click + Create.

    The Select app type pop-up is displayed.

  5. In App type, select Managed Google Play app > Click Select.

    The Managed Google Play page is displayed.

  6. Enter com.oloid.devicelock in the Search bar > Select Oloid DeviceLock app.

    The app is selected successfully.

  7. Click Select > Click Sync.

    The Android apps page is displayed.

    Note: If you do not see Oloid DeviceLock in the app list, click Refresh and wait for some time.

  8. Click on app Name to assign the app to a group or all devices.

    The DeviceLock app page is displayed.

    Note: You will find Assigned: No status.

  9. Click Manage > Properties.

    The App Information page is displayed.

  10. Click Edit.

    The Edit application page is displayed.

  11. Click Assignments tab > click + Add all devices to make the app installation required across all enrolled Android devices and then click Review + Save.
    Note: App can be assigned to appropriate device groups as well.

    The Review + save screen is displayed.

  12. Click Save.

    The Edit application page is configured successfully.

  13. Go to Monitor > Device install status. If the list is empty, open Google Play Store in your enrolled Android device. The Oloid DeviceLock app should start installing. Click Refresh to update the Device list.

    Note: It may take some time to reflect here.

Add DeviceLock Private App to Managed Google Store

This section explains how to upload and add the DeviceLock APK as a private app in Managed Google Play. Once added, the app is synced with Intune and installed on enrolled devices.

Do the following.

  1. Repeat steps a to c in the previous section.

  2. In the Managed Google Play page, click Private apps icon.

    The Private apps are displayed.

  3. Click + icon. (Update this screenshot to not show Intune DeviceLock)

  4. Do the following.

    1. Enter Title.

    2. Click Upload App.

    3. Click Create.

      The private app is created successfully.

  5. Click on the app icon you just created.

    The app details page is displayed.

  6. Click Select app > click Sync.

  7. Click Refresh on the Android apps page to find the private app in the list.

    The DeviceLock app is successfully added to the list of Android apps.

Configure Auto-pair

This section explains how to configure auto-pairing for the DeviceLock app using an Intune app configuration policy.

Do the following.

  1. Download AutoPairConfig.json for your DeviceLock app from your Oloid tenant admin portal. To download refer How to Generate Auto-Pair Config File for Oloid DeviceLock App in the Tenant Admin Portal | Oloid Help Center.

  2. In Microsoft Intune Admin Centre home page, go to Apps > Manage Apps > Configuration.

    The Apps | Configuration page is displayed.

  3. Click Create > Select Managed Devices.

    The Create app configuration policy is displayed.

  4. In Basics tab, do the following.

    1. Enter Name.

    2. Enter Description (Optional).

    3. In Platform, select Android Enterprise.

    4. In Profile Type, select All Profiles.

    5. Click Select app.

      The Associated app popup is displayed.

    6. Select Oloid Device Lock.

    7. Click Ok.

      The DeviceLock app is added in the Targeted app.

    8. Click Next.

      The Settings tab is displayed.

  5. In Settings tab, do the following.

    1. In Configuration settings format, select Enter JSON data.

    2. In the JSON Template editor that is visible, copy values from the AutoPairConfig.json you downloaded to “valueString” or “valueBool” fields. Use the following mapping:

      Refer below Data Table.

AutoPairConfig.json

Intune App Configuration

ApiKey

ApiKey

TenantName

TenantName

TenantID

TenantID

Environment

Environment

ApplicationID

ApplicationID

SkipUserConfirmation

SkipUserConfirmation

c. Click Next.

The Assignments tab is displayed.

6. In Assignments tab, do the following.

a. Click + Add all devices.

Note: To make the app configuration available to all enrolled Android devices.

You can also select specific device groups by clicking Add groups if needed.
b. Click Next.

The Review + create tab is displayed.

7. Click Create.

The Create app configuration policy is successfully configured.

Configure Managed Home Screen in Kiosk Mode

This section explains how to set up kiosk mode for the DeviceLock app using Managed Home Screen in Intune.

  1. In the Microsoft Intune Admin Centre home page, go to Devices > Manage apps > Configuration.

    The Configuration page is displayed.

  2. Click + Create > select Managed devices.

    The Create app configuration policy page is displayed.

  3. Do the following.

    1. The Managed Home screen is configured successfully.

Configure Basics

This tab explains how to define the basic details for the device restrictions profile, including name, platform, and profile type required for kiosk mode setup.

Do the following.

  1. Enter Name.

  2. Enter Description (Optional).

  3. In Platform, select Android Enterprise.

  4. In Profile Type, select Fully Managed, Dedicated, and corporate-Owned Work Profile Only.

  5. Click Select app.

    The Associated app pop-up is displayed.

  6. Select Managed Home Screen.

  7. Click Ok.

  8. Click Next.

    The Basic tab is configured successfully, and Settings tab is displayed.

Setup Settings

This tab explains how to configure kiosk mode settings by selecting the device experience type and assigning the DeviceLock app to run in single-app mode.

Do the following.

  1. In Configuration Settings > Configuration Settings format > select Enter JSON data.

    Note: If you do not have JSON data Contact Oloid Support.

  2. Enter the JSON Data in the JSON data field.

  3. Click Next.

    The setting tab is configured successfully, and the Assignments tab is dispalyed.

Configure Assignments

This tab explains how to assign the device restrictions profile to target device groups or all enrolled devices in Intune.

Do the following.

  1. Click Add groups to assign this profile to your target device groups.

    Note: Click + Add all devices to apply to all enrolled devices.

    The Select groups to include pop-up is displayed.

  2. Do the following.

    1. Select the group(s) from the list.

      Note: You can select multiple groups.

    2. Click Select.

      The Group is added in the list.

  3. Click Next.

    The Assignment tab is configured successfully and Review + create tab is displayed.

Configure Review + create

This tab explains how to review the configuration details and create the profile to complete the kiosk mode setup.

The Kiosk mode is configured successfully.


Keywords

| Oloid DeviceLock Intune setup | DeviceLock Android Intune deployment | Oloid DeviceLock MDM configuration | Microsoft Intune DeviceLock setup guide |

Did this answer your question?