micromdm icon indicating copy to clipboard operation
micromdm copied to clipboard

User Enrolment Howto

Open micudaj opened this issue 4 years ago • 6 comments

Is there a documentation available on how to enrol devices using user enrolment for iOS?

micudaj avatar Mar 19 '20 22:03 micudaj

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.

groob avatar Mar 19 '20 22:03 groob

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

groob avatar Mar 19 '20 22:03 groob

thank you very much for the quick response. I actually just made it work. :) Thank you for providing this tool!

micudaj avatar Mar 19 '20 22:03 micudaj

One more question: There is no command yet for listing all enrollment ids similar to users and devices, right?

micudaj avatar Mar 19 '20 22:03 micudaj

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.

sanjeevkumarsingh avatar Dec 29 '20 05:12 sanjeevkumarsingh

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.

Asha-12 avatar Oct 18 '22 06:10 Asha-12