05-17-2022 01:30 PM - edited 05-17-2022 01:33 PM
Hi,
I'm using Jamf School and ran into the following problem:
Upon installing macOs (Macbook Pro M1), I am receiving an error:
Enrolling with management server failed
Unexpected error
MDMResponseStatus: 401
I have tried to move device to trash or unmanage it, but nothing works. If I wipe macbook and try again - problem happens again.
This is how the macbook shows in Jamf School:
Anyone can help?
Posted on 05-18-2022 07:07 AM
I believe you can ignore how it shows up in Jamf School. If you catch it early enough, devices getting added will always look funny with things like broken icon image, incorrect models, etc.
As for the error, see Apple's documentation here:
An HTTP 401 Unauthorized error indicates one of the following:
Invalid consumer key
Invalid or expired token
Invalid signature
Invalid or already-used nonce
We have had this error before from devices sitting too long, resulting in expired tokens. Wiping the device corrected it, so you should be able to rule out expired tokens.
I'm not an expert in this by any means, so hopefully this at least helped point you in the right direction.
Posted on 05-18-2022 07:57 AM
Thanks. But I have tried to wipe device multiple times, including just before posting the message and it still produces the same thing...
05-18-2022 08:18 AM - edited 05-18-2022 08:19 AM
I had a similar issue when we were merging with another company and working with their MDM. I had to wipe the device 3-4 times before it finally worked. I talked to their support and didn't believe them when they told me to keep wiping it, but it eventually worked as frustrating as it was.
Posted on 05-18-2022 08:22 AM
Unbelievable! I will try to wipe it more and non-stop and will see how it goes.... Thanks for the answer! Absolutely outrageous though!
Posted on 05-19-2022 02:48 AM
Wiped device about 8 times yesterday and still nothing...
Posted on 05-19-2022 05:45 AM
It may be more worthwhile opening a case with Jamf support for this issue. Sadly, the Jamf School threads don't have as much of the experts/experience that Jamf Pro has.
You'll want to try to gather information to help support narrow down what could be the cause. Things like what you've shared here, as well as things like:
Posted on 05-19-2022 06:06 AM
- only device from the whole "fleet" - other iMacs, Macbooks and iPads all work fine
- tried multiple wired networks via ethernet <> usb-c adapters, tried different wifi networks and have just tried mobile hotspot - same issue everywhere
- this device hasn't been enrolled before. although it was used before without Jamf and without being added to Apple School Manager (reseller forgot to add it to the system), then it was wiped and then I have tried to onboard it to Jamf
Posted on 05-19-2022 07:58 AM
I know that with Monterey and the Apple Configurator app for iPhone you can now add Macs to Apple Business Manager that weren’t added at point of sale, not sure if this is similar or helpful for your situation with Apple School Manager.
Posted on 05-20-2022 04:13 AM
have just tried that too - was able to add the device to School Manager (although it was already added) and then after a restart, when it tried to connect to Jamf - the same thing happened again...
Posted on 08-04-2022 06:46 AM
I did a few things to resolve this issue:
then it went through
Posted on 10-03-2023 08:52 AM
I was able to fix this with no computer wipe. Here are the steps I followed with Jamf Support: