Profile Manager: Invalid profile druing supervise and Install iOS8 Devices

Since the Update of the Mac OS X (Mavericks) Server-App to 3.2.1 we are no longer able to install Profiles on new supervised iPads with the Apple Configurator.

Error Message on the iPad during the setup procedure "Invalid Profile".

Before 3.2.1 and/or iOS8 this

Any sugestions?


Thanks

Martin

iPad (3rd gen) Wi-Fi + Cellular, iOS 8

Posted on Oct 1, 2014 6:26 AM

Reply
6 replies

Oct 1, 2014 7:25 AM in response to teufelm

I'm in the same boat. Stupidly, I renewed my certificate at the same time and wasted a bunch of time thinking that was the cause, but I'm now leaning toward something to do with the upgrade. The issue only affects devices enrolling via Apple Configurator supervision. Manually enrolling through /mydevices works like a charm. However, supervised devices that have been directed to auto-enroll produce the "Invalid Profile" error with no useful information showing up in the device console log. The only clue I've been able to find is in the web server logs. Such devices appear to do nothing more than perform a HTTP POST to /devicemanagement/mdm/dep_mdm_enroll and they get a HTTP 401 (Unauthorized) in return. Thus, I'm looking into permissions on that URL this morning.

Oct 2, 2014 6:37 AM in response to teufelm

teufelm wrote:


Since the Update of the Mac OS X (Mavericks) Server-App to 3.2.1 we are no longer able to install Profiles on new supervised iPads with the Apple Configurator.

Error Message on the iPad during the setup procedure "Invalid Profile".

Before 3.2.1 and/or iOS8 this

Any sugestions?


Thanks

Martin

Here's the solution that worked for me: https://discussions.apple.com/thread/6575777

Oct 6, 2014 2:40 AM in response to rdowling75

i tried the solution (Solution: Server 3.2.1 "Invalid Profile" w/ Supervision-based Enrollment), but the workaround did not solve my problems. The described mdm_enroll.php file is on my system, but this filed does not contain the check "if (emptyempty($settings['dep_service_state'])) DieUnauthorized('DEP isnotenabledonthisserver');".

I found out, that there is another file called dep_mdm_enroll.php in the same folder with the the check. So i commented out the checks in this file.


When i do no a new setup of a blank iOS 8.0.2 Device i get one step further, than before: Now the Ssetup fails when e enter the creditantials of the profile manager. The user/password combination i enter is definatley correct...


Has someone another idea, how to continue?


Kind Regards

Martin

Dec 1, 2014 9:24 AM in response to teufelm

We are seeing "invalid profile" on setup of new ios 8.1.1 device with Server 3.2.2. The "invalid profile" error is coming up after enter the username/password credentials for the user.


Checked both php files 'mdm_enroll.php' & 'dep_mdm_enroll.php' and there is no check: "if (emptyempty($settings['dep_service_state'])) DieUnauthorized('DEP isnotenabledonthisserver');"


Looks like a support call to Apple is next.


Thanks,


Mark

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Profile Manager: Invalid profile druing supervise and Install iOS8 Devices

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.