How to migrate Samsung devices from a DPC-based EMM to AMAPI
There are two different migrations, and only one avoids a factory reset. If you stay with the same EMM vendor, Google's DPC migration can move a Samsung device from that vendor's custom DPC to Android Device Policy in place. If you change vendor, the device must be released and factory reset, then enrolled into the new EMM. On Samsung hardware, Knox Mobile Enrollment (KME) makes that reset close to hands-off. Point the device at the new EMM in the Knox portal first, and it enrolls itself after the wipe.
Key facts
- Moving a Samsung device to a different EMM vendor always needs a factory reset. Google's DPC migration works only inside one vendor.
- Knox Mobile Enrollment (KME) is free and re-enrolls a device after every factory reset, so the reset can be remote.
- Assign the new KME profile before any wipe. The assignment is stored in the Knox portal, so the device does not need to be online.
- AMAPI enrollment tokens expire after one hour by default. Set a longer duration for the profile.
- A Samsung device registered in both KME and zero-touch enrolls through Knox.
- With cellular or Ethernet at first boot the migration takes no staff touches. With Wi-Fi only it takes one.
Which EMM migration path applies to you?
| Situation | Path | Factory reset | Who does the work |
|---|---|---|---|
| Same EMM vendor, moving its agent to AMAPI | Google's DPC migration | No | The vendor, through its DPC and backend |
| New EMM vendor | Release, factory reset, re-enroll | Yes | You, with KME or zero-touch handling enrollment |
| Old EMM unreachable, or the contract has ended | Manual factory reset, re-enroll | Yes | Staff on site |
Why can't a device switch EMM without a reset?
On a company-owned device, the EMM agent is the device owner. Outside developer tooling, Android lets a device owner be set only while the device is provisioned from a factory-fresh state. A second agent cannot take over a running device.
Google's DPC migration is the one exception, and it is narrow. It hands rights from a vendor's custom DPC to Android Device Policy inside the same EMM and the same enterprise. Google states that it cannot move devices between EMMs. Bayton's migration FAQ says the same: cross-vendor migration is not possible.
The same-vendor path has conditions:
- The custom DPC integrates AMAPI SDK 1.1.4 or later.
- The device is enrolled through the Play EMM API, in a managed Google Play Accounts enterprise.
- The device runs Android 9 or later. Work profiles on company-owned devices need Android 11 or later.
- Fully managed devices with a work profile on Android 9 or 10 are not supported.
- The move is one-way.
How do Knox Mobile Enrollment and Knox Service Plugin help?
- Knox Mobile Enrollment. KME is free. A device assigned to a KME profile enrolls into that profile's EMM at first boot and again after every factory reset. Resellers upload devices for you, and you can add others yourself.
- Knox Service Plugin (KSP). A custom DPC can call the Knox SDK directly. An AMAPI-based EMM cannot. KSP is Samsung's OEMConfig app, and it carries Knox settings as a managed configuration instead. Premium Knox features need a Knox Platform for Enterprise Premium key. Samsung issues it free, and it expires two years after activation.
- One enrollment service per device. Google's zero-touch help states that a Samsung device registered in both services enrolls through Knox.
What should you inventory before you wipe anything?
The old agent does things you may not have written down. List them, then decide where each one lands.
| What the old EMM does today | Where it goes under AMAPI |
|---|---|
| Standard restrictions, passwords, Wi-Fi | Policy fields in the new EMM |
| Knox-only settings applied by the vendor's agent | Knox Service Plugin managed configuration |
| Kiosk lockdown or launcher | Kiosk policy or custom launcher in the new EMM |
| Private apps | Republish to, or share with, the new managed Google Play organization |
| Wi-Fi client certificates | Reissue after enrollment |
| Local app data | Lost at reset unless the app syncs it |
Private apps need attention. Apps uploaded through an EMM's managed Google Play iframe are tied to the enterprise that was bound at the time. They do not carry over to a new binding by default.
How do you migrate Samsung devices to a new EMM, step by step?
- Build the target policy and test it on one device per model. Include the kiosk app, Wi-Fi and the Knox Service Plugin configuration.
- Check that every device is in your Knox Mobile Enrollment account. Reseller-supplied devices are uploaded for you. Others can be added with the Knox Deployment App, or by QR code if the profile allows it.
- Create a KME profile for the new EMM. The profile carries the new EMM's enrollment details. For an AMAPI-based EMM, that means Android Device Policy plus an enrollment token.
- Make the enrollment token outlive the project. AMAPI tokens expire after one hour by default. A longer duration can be set. An expired token in the profile fails every device that resets later.
- Remove the zero-touch configuration if the devices also sit in Google's zero-touch portal.
- Assign the new KME profile to the devices. Do this before any wipe. The change happens in the Knox portal, so the device does not need to be online.
- Wipe a pilot group from the old EMM console. A wipe issued by the managing EMM is cleaner than a reset from recovery mode. A recovery reset can trigger Factory Reset Protection if a Google account is on the device.
- Give the device a network at first boot. The wipe removes saved Wi-Fi. A SIM, Ethernet, or a QR code that carries Wi-Fi credentials avoids a manual step. Otherwise someone joins Wi-Fi once.
- Verify. The device appears in the new console, reports the expected policy version, launches its kiosk app and shows the Knox settings applied.
- Roll out in waves, then close the old side. Delete device records in the old EMM, remove the old KME profile, and unbind the old enterprise after the last device has moved.
How many staff touches does this take?
None, if the device has cellular or Ethernet at first boot. The wipe is remote and KME handles enrollment. One, if someone has to join Wi-Fi after the wipe. Step 8 is where the labor is, so decide the first-boot network per site before the first wave.
What goes wrong in a Samsung EMM migration?
- The enrollment token expired. Devices reset, reach KME, and fail at the EMM step.
- The device is registered in both KME and zero-touch. It follows the Knox profile, which may not be the one you updated.
- Knox premium settings do not apply. The Knox Platform for Enterprise Premium key is missing or expired.
- The wipe erased the eSIM. A cellular-only device then has no way back online. Test eSIM handling on one device first. See Managing eSIM across an Android Enterprise fleet.
- Devices were offline during the window. They still hold the old agent. See Re-enrolling devices that have been offline for 90+ days.
- The old EMM tenant closed too early. Stragglers can no longer receive a wipe and need a manual reset.
How do Samsung devices move to AndroidNexus?
AndroidNexus does not claim a wipe-free move from another EMM. Devices move by being released from the old EMM, factory reset, and enrolled. Zero-touch and Knox Mobile Enrollment devices enroll on first boot, and other devices enroll by QR code. Knox Service Plugin is configured from the policy.
Frequently asked questions
Can I move Samsung devices to a new EMM without a factory reset?
No. Google's DPC migration works only inside one EMM vendor. Moving to a different vendor means releasing the device, resetting it and enrolling it again. Knox Mobile Enrollment removes most of the manual work, because the device enrolls itself after the reset.
Does Knox Mobile Enrollment cost anything?
No. Samsung lists KME as free, with no license key required. Advanced settings, such as device lock and app installation during enrollment, need a Knox Suite plan.
Do I need a Knox license for Knox Service Plugin?
For premium features, yes. They need a Knox Platform for Enterprise Premium key. Samsung provides it free, and it expires two years after activation, so put the renewal date in a calendar.
Will the device re-enroll by itself after the reset?
Yes, if two things are true. The device has a KME profile assigned, and it reaches the internet during setup. It then installs the EMM agent named in the profile and enrolls.
What happens to private apps when we change EMM?
Apps published through the old EMM's managed Google Play iframe belong to the old enterprise binding. Plan to publish them again in the new organization, or share them to its Organization ID from the Play Console.
Should Samsung devices use KME or zero-touch?
Either works on Android 9 or later, but not both on one device. KME lets you add devices you already own, and it is Samsung-only. Zero-touch covers every OEM but needs a reseller to register each device. See Knox Mobile Enrollment vs zero-touch enrollment.
What about devices that are switched off during the migration?
Assign the new KME profile now. The assignment is stored in the Knox portal and applies whenever the device is next reset. The hard part is getting the reset to happen, which depends on the old EMM still being reachable.
Can I switch EMM on Samsung devices remotely?
Yes, when three things hold. The old EMM can still send a wipe command. The device has the new Knox Mobile Enrollment profile assigned before the wipe. And the device has a network at first boot, from a SIM, Ethernet, or a QR code that carries Wi-Fi credentials. If the last one is missing, someone has to join Wi-Fi once.
Does a factory reset remove a device from Knox Mobile Enrollment?
No. The profile assignment lives in the Knox portal, not on the device. A device assigned to a KME profile enrolls into that profile's EMM at first boot and again after every factory reset.
Sources
- DPC migration, Android Management API guide
- Provision a device, Android Management API guide
- Zero-touch enrollment for IT admins, Google
- Knox Mobile Enrollment FAQ, Samsung Knox
- Enroll your devices, Samsung Knox
- Knox licenses, Samsung Knox
- Knox Service Plugin minimum requirements, Samsung Knox
- Can I migrate from a custom DPC to AMAPI?, Jason Bayton
- Create and manage private apps for Android Enterprise, Jason Bayton