Skip to main content

I presume this is via webenrollement? Seen that with Mac's which previously had the JAMF client installed.
Try Terminal and: sudo /usr/local/bin/jamf removeFramework (on the local Mac) and then download the MDM token again from the web again.
If not, try to delete the Mac from the JSS again.



Tobias


@tjhall I already tried that and no luck! I am not even getting the Jamf folder installed in my computer.


what if you run sudo jams enroll -prompt


Does not work that way either. I have try all those commands: sudo /usr/local/bin/jamf removeFramework or sudo removeFramework, etc. I get command not found.


So that implies that Jamf isn't installed. I presume it works if you use a QuickAdd package?


It does not. I get the same error


Do you have a record of the computer under Mobile Devices? Search by the serial number and see.


I can find the computer by the serial # in casper but not managed.


If you run sudo jamf mdm does it return any sort of errors? I had 4 machines that were doing this and returning an error saying an SCEP server couldn't be reached. Went into our JAMF settings under JAMF Pro URL and turns out there was an invalid address for using built in SCEP. Deleting that address, saving and then re-running sudo jamf mdm on the machines fixed our issue.


I have the right address.


Hey @Zeek, just a thought here, have we verified that APNS is open to that computer? Try this command in Terminal on the computer that is failing to properly enroll:



nc -z gateway.push.apple.com 2195


Perhaps the MDM Profile can't be delivered because of a closed connection?


I finally got around this issue. I called Jamf and Found out it is a bug in Casper. My computer was getting enrolled in Mobile Device.
If I want my computer to enroll the right way. I had to make sure is deleted from Mobile Device.


Yep. See my post above. You must have misread it initially. I've had this happen once back when I was on an earlier build of version 9.


I did not see your post @mainelysteve Thanks for your help.