Skip to main content
Solved

Profiles not being removed when deprovisioning device.

  • June 26, 2017
  • 2 replies
  • 34 views

Forum|alt.badge.img+9

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?

Try that and let us know how that goes.

Thanks!

Scott Mielke
Jamf

2 replies

Forum|alt.badge.img+7
  • Employee
  • Answer
  • June 26, 2017

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?

Try that and let us know how that goes.

Thanks!

Scott Mielke
Jamf


Forum|alt.badge.img+9
  • Author
  • Contributor
  • June 26, 2017

It was a setting in the DEP.