Forum Discussion
Enrollment is not working in android mananement API google colab
Hope you had a good day so far?
I have had an update from our tech team around this question. They advised the following:
It's intriguing to learn which EMM you're utilizing?
Based on my understanding, it seems you're using DeviceAdminReceiver, which, according to documentation, points to Device Administration overview—a deprecated feature (part of Android Legacy). This documentation further leads to Custom DPC (Play EMM API), also deprecated. Finally, we reach AMAPI, which is the recommended migration path.
In the QR Enrollment documentation for AMAPI, there's an example where CloudDPC must be used—a DPC provided by Google, not the EMM anymore. This means community users won't be able to add their custom DPC APK (or at least that's how I interpret it).
For context, Android 10 was in the transition period of Device Admin deprecation. Some OEM vendors like Samsung allowed Device Admin enrollment in Android 10. This might explain why Device Owner worked for you in Android 13.
As a reminder, in terms of AMAPI development, we don't offer support directly; instead, we redirect users to the StackOverflow AMAPI channel for assistance.
I hope that this is helpful?
Thanks,
Reece
Related Content
- 2 years ago
- 2 years ago
- 6 months ago