micromdm
micromdm copied to clipboard
User Enrolment Howto
Is there a documentation available on how to enrol devices using user enrolment for iOS?
There isn't because it's up to you to write code to support that.
To support user Enrollment, you have to add a managed apple ID to each enrollment profile. https://developer.apple.com/documentation/devicemanagement/mdm (see ManagedAppleID here ).
Once you write your own method of generating unique enrollment profiles for each user, you can then direct users to that service and stop using /mdm/enroll
(provided by MicroMDM).
Once enrolled, there's no difference, and you can continue to push commands targeting the user enrollments.
The guidance to write your own enrollment endpoint is documented, in very broad terms. https://github.com/micromdm/micromdm/blob/master/docs/user-guide/enrolling-devices.md#a-custom-enrollment-endpoint
thank you very much for the quick response. I actually just made it work. :) Thank you for providing this tool!
One more question: There is no command yet for listing all enrollment ids similar to users and devices, right?
Hi,
Any idea , how to resolve error message (Server returned a user enrolment profile) on device while installing profile ? Trying to use OTA user enrolment profile, and had added ManagedAppleID in mdm payload . It's working in mdm/enroll method.
Thanks.
Hi,
Enrolment profile is getting installed in iOS device but device details are not showing when I run the mdmctl get devices command. please help me out in resolving this.