Skip to main content
Solved

Can't Manage via MDM commands

  • May 2, 2024
  • 5 replies
  • 83 views

Forum|alt.badge.img+3

I have a computer that is enrolled but MDM Capability is No and under Management, Management Commands are missing. I tried to re-enoll it via enrollment URL but that didn't make a difference.

 

Any ideas?

Best answer by mojo21221

End User may need to approve some profiles under Settings -> Profiles

If you are using Automated Device Enrollment. Try having them run sudo profiles renew -type enrollment from terminal. That should refresh the enrollment of the device. 

5 replies

mojo21221
Forum|alt.badge.img+12
  • Valued Contributor
  • Answer
  • May 2, 2024

End User may need to approve some profiles under Settings -> Profiles

If you are using Automated Device Enrollment. Try having them run sudo profiles renew -type enrollment from terminal. That should refresh the enrollment of the device. 


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • May 2, 2024

End User may need to approve some profiles under Settings -> Profiles

If you are using Automated Device Enrollment. Try having them run sudo profiles renew -type enrollment from terminal. That should refresh the enrollment of the device. 


I get DEP enrollment failed: The device no longer has a Device Enrollment configuration assigned to it.


mojo21221
Forum|alt.badge.img+12
  • Valued Contributor
  • May 2, 2024

Does the device still have profiles and jamf framework. Try removing Profiles from the device.  Once they are then run sudo jamf removeframework. Then try enrolling via the sudo profiles renew -type enrollment again.

Not sure if this workaround still works, but your can try removing the Apple setup done file. Restart the mac and see if it triggers ADE from setup as well. rm ./var/db/.AppleSetupDone


whiteb
Forum|alt.badge.img+9
  • Valued Contributor
  • May 3, 2024

I get DEP enrollment failed: The device no longer has a Device Enrollment configuration assigned to it.


Double-check it hasn't been released from School Manager / Business Manager. It sounds like it has based on that error.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • May 6, 2024

End User may need to approve some profiles under Settings -> Profiles

If you are using Automated Device Enrollment. Try having them run sudo profiles renew -type enrollment from terminal. That should refresh the enrollment of the device. 


I have two machines with this issue and one machine it didn't work for but the other it did. The one it didn't work for I'm just going to wipe it and re-enroll.