I've spent the last few days troubleshooting some strange enrollment issues. I was having issues getting policies to trigger and was even seeing quickadd enrollment errors.
jamf policy was giving an error.
there was an error.
unknown error An unknown error has occurred
quickadd
the installation has failed
I moved the JSS to a new server and had the same issues. I reimaged, same issues.
After days of troubleshooting and long calls to support we found the issue. I had a bunch of policies that had the trigger "Enrollment". Once I remove the enrollment trigger on the multiple policies, everything started working. I guess it was timing out during enrollment and would never fully complete.
I hope someone finds this useful.
-Goof