I have to Macbook Airs that I am deprovisioning. When i run the command below. It gives a list of items being removed like normal. Except when i go to System Preferences I still have a Profiles icon and things are grayed out like it is still enrolled.
I have tried re-enrolling it and running the command again with no luck. If I try to run any Jamf script in terminal after running the one below I get the message "sudo jamf: command not found"
sudo jamf removeFramework
Has anyone else encountered this issue?
Best answer by scott_mielke
Good afternoon, David!
I suggest reaching out to us and opening a support ticket but I believe this might be tied to DEP.
Was this device original enrolled via DEP Prestage with the setting to disallow the MDM profile removal configured? That would potentially explain why you cannot locally remove those profiles.
Have you attempted removing the MDM profile by navigating to the inventory record of the machine in the JSS and sending the command to remove MDM profile?
I suggest reaching out to us and opening a support ticket but I believe this might be tied to DEP.
Was this device original enrolled via DEP Prestage with the setting to disallow the MDM profile removal configured? That would potentially explain why you cannot locally remove those profiles.
Have you attempted removing the MDM profile by navigating to the inventory record of the machine in the JSS and sending the command to remove MDM profile?