Posted on 09-18-2023 08:18 AM
Hello,
I am trying to test the automated enrolment process via ABM to Jamf Pro, when trying to complete this process I receive the error MDMResponseStatus error 500. I have manually added a couple of devices to ABM, switch their MDM assignment to point at Jamf Pro, waited to see the device show under devices in Automated device enrolment then restarted. I then go to setup the device and receive our welcome screen, at the stage is says "Installing enrolment profile" we then receive the above error. This test has been done on a couple of different devices, on different networks, they do not seem to be going into the mobiles devices either as some have experienced. I have tried fully removing all records of the device from ABM & Jamf Pro then trying again but receive the same error.
Am I missing something simple here, has anyone else come across this before and knows how to resolve it? It would be a great help, thanks for your time and much appreciated.
Posted on 09-18-2023 11:25 AM
Hello,
I'll be completely honest and say I don't have a direct solution for this but hopefully I can help you troubleshoot further.
First thing I'd check is that your certificates and tokens are in order on your Jamf Pro Instance. You can do this by going to Settings > Global > Automated Device Enrolment and ensuring your Token isn't expired. It may be worth updating your server token anyway by going to your ABM account Settings, selecting your MDM server and downloading a new token from there.
I also noticed you've tried on different networks already, have you try this on any completely unfiltered networks? If not, it may be worth trying to full set up a device on mobile data. If this works, I'd recommend taking a look at Jamf's technical article on the network ports used by the Jamf Pro servers and ensuring they're all allowed through your firewall.
https://learn.jamf.com/bundle/technical-articles/page/Network_Ports_Used_by_Jamf_Pro.html
Posted on 09-19-2023 02:46 AM
Hey Trix,
I appreciate your time and help on this, just to confirm this is a Jamf Pro cloud instance. I can confirm the "Automated device enrollment" token hasn't expired and was recently setup. I will refresh the token anyway just to rule this out.
We don't really have a completely unfiltered network but we have tried from 2 home offices, also tried over hot spot. We are looking to try from the business office over the next couple of days.
Thanks
Posted on 09-19-2023 07:43 AM
I have created a new Automated Device Enrollment profile with a new token but still receiving the same message. The device appears in ABM, I select the MDM server. I leave it till it shows under the Automated Device Enrollment profile, I restart the device go through the set and after the welcome screen when it try's to install the enrolment profile I get the error "Enrolling with management server failed - Unexpected error (MDMResponseStatus500)
Posted on 09-18-2023 06:39 PM
This problem often occurs with ABM, and it may be feasible to wait a few hours before re-registering the device.
It seems that the ABM registration service often crashes, Apple related person to explain?
Posted on 09-19-2023 02:49 AM
Hey XuHao,
I have read a fair bit and seems fairly common just not experienced before myself till now. When removing all records from ABM and Jamf, I have been waiting 2-4 hours before attempting again to help make sure it's cleared.
Yes, would be great if anyone from Apple can explain and advise.
Thanks for your assistance
Posted on 09-21-2023 03:23 AM
I have raised a support case to Jamf, hopefully have a fix and answer to this soon. I will post our fix in case others experience this issue and error.
Posted on 09-26-2023 08:16 AM
After a few back and forth with Jamf Support, we have identified the issue. It is the fact we were using an "Enrollment Customization" with the Prestage Enrollments to why we were getting the error "Enrolling with management server failed - Unexpected error (MDMResponseStatus500)" I have recreated it and still get the error, remove it and the device goes through automated enrollment fine. We have also come across an issue now adding a certificate to the Prestage Enrollment, doesn't allow you to continue after the Remote Management page. We are still working with Jamf Support to resolve these issues. Thanks