Macbook appeared as iOS device and fails to enroll.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 05-19-2022 02:48 AM
Wiped device about 8 times yesterday and still nothing...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Is this the only device that has this issue? If so, is it only Macs or iPads as well?
- Does it do the same thing using a different network (like a mobile hotspot)?
- Has this device been enrolled before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 08-04-2022 06:46 AM
I did a few things to resolve this issue:
- delete the Computer Record
- Created a new PreStage and made sure there were no Certificate settings with Anchor Certificates
- then on the Macbook Pro, I had to go to Disk Utility and erase the drive, and reinstall the macOS, not once but twice. (just restarted the MacBook Pro setup did not resolve the issue, had to wipe the Macintosh HD)
then it went through
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Confirm the device is in our Apple Business/School Manager and assigned to our Jamf Server
- Navigate to the Prestage Enrollment section within Jamf
- Click on the Prestage Enviornment (we only have one)
- Find the computer by serial number > Noted that it was not checked as assigned.
- Checked the box next to the computer.
- Had the client restart the computer and try again.
