I have a user's laptop that has not been checking in with jamf for a few months. I tried re-enrolling with the following commands but received the error in the subject line.... Any ideas for how to re-enroll?
sudo jamf -removeFramework sudo profiles renew -type enrollment
Hmm, so this would remove all configuration profiles for users, yes? That is a bit of a risk for me if enrollment still fails. I hate to ask the user to rebuild just because a laptop isn't checking in.
If the binary is still communicating with your jss then try issuing sudo jamf removeMdmProfile if it succeeds next delete the apsd.keychain file under /Library/Keychains, reboot and then log in as the user and issue sudo profiles renew -type enrollment. If that fails then you'll either to clear out the folder @Dylan_YYC mentioned above or backup user data and do a rebuild.