Favicon

You are here: Home > Device Management > Android > Android Enrollment > Samsung Knox Mobile Enrollment (KME)

Samsung Knox Mobile Enrollment (KME)

Learn how to integrate Samsung Knox Mobile Enrollment (KME) with Applivery for automated device provisioning and management.

8 min read

TL;DR

Automate Samsung device enrollment using KME and Applivery Smart Enrollments by configuring a KME profile with a simplified JSON configuration from Applivery.

Samsung Knox Mobile Enrollment (KME) is a powerful onboarding framework that allows organizations to provision Samsung Devices automatically and at scale. It ensures that every corporate Device—new or freshly reset—configures itself with the correct management settings as soon as it connects to the internet.

When combined with Applivery Smart Enrollments, KME enables a fully automated, secure, and hands-off provisioning flow, making Device deployment faster, more consistent, and error-free.

1
Obtain the JSON configuration

The first step is to collect the JSON configuration needed for Samsung KME. This JSON contains the enrollment parameters required for Applivery to configure the Device automatically during provisioning.

Once in the Applivery Dashboard, go to Automation (1), select Smart enrollments (2), and choose Android as the platform from the left-hand menu.

create android smart enrollment
Note

Samsung Knox Mobile Enrollment supports Device Owner, Dedicated Device, and COPE enrollment modes.

Note

You can learn more about Android Smart Enrollments by following this link.

On the Smart Enrollment you want to use, click the three-dots menu (3) on the right side and select Zero-touch. Next, select the Copy JSON (4) button to copy the JSON block.

zero touch json

Validate the JSON configuration

Once you’ve copied the JSON code, you must validate its structure and prepare it for KME use.

Open a JSON validator, such as jsonlint, and paste the copied JSON into it. Validate the structure and ensure there are no syntax errors.

If errors appear, revise the JSON for missing commas, quotation marks, or brackets.

Remove non-required JSON sections

Samsung KME requires a simplified version of the JSON. Some fields generated by Applivery Smart Enrollment must be removed before uploading.

  • Review the validated JSON code.

  • Identify elements not required for the KME integration.

  • Remove unnecessary sections carefully without altering the structure.

The resulting JSON should look similar to the provided example:

{
  "com.google.android.apps.work.clouddpc.EXTRA_ENROLLMENT_TOKEN": "YOUR_TOKEN_HERE"
}
2
Configure KME Portal

Create a new KME profile

You will now create a Samsung KME profile that includes the Applivery configuration.

First, navigate to the Profiles (5) section, then click the Create profile (6) in the upper-right corner.

kme-create-profile | Applivery

Name the profile according to the deployment type (DO, COPE, Dedicated, etc.) and select the EMM checkbox and optionally Knox Service Plugin. Then, click Next.

kme-profile | Applivery

Fill in the Company name, Support email, and Support phone number fields. Then, under EMM Information, from the dropdown select Other.

For Link to agent APK, use https://play.google.com/managed/downloadManagingApp?identifier=setup.

Then click Next.

kme-emm-info | Applivery

On the next page, locate the DPC Extras section and paste the cleaned JSON directly into the field.

Complete any additional settings your organization requires, including:

  • System apps for corporate profile.

  • Enrollment screens configuration.

  • Legal agreement (optional).

Once completed, click Next.

dpc-extras | Applivery

Assign the profile to Devices

Verify that all settings—including the Applivery JSON—have been correctly added, then click Create and assign to save the profile.

Finally, assign your new profile to the Samsung Devices you want to manage. Select the Devices you want to provision, choose the profile you created and assign it, and confirm the assignment to push the configuration.

assign-device | Applivery

Once assigned, any Device that is factory-reset or turned on for the first time will automatically trigger Samsung KME as soon as it connects to the internet, starting a fully automated Applivery enrollment.

Your KME provisioning workflow is now ready for deployment!

Key Takeaways

  • KME automates device enrollment for Samsung devices.
  • Applivery Smart Enrollments provide the necessary configuration for KME.
  • Proper JSON configuration is crucial for successful integration.