I'm in a bit of an odd situation. Hoping someone will have some ideas on what I can do.
I have a user with a Macbook who has been let go of the organization. Without getting into details, they are keeping their equipment. I want to be able to pull all of the policies/configurations out of the laptop and then remove it from Jamf and remove it from DEP. Unfortunately I wont be able to get my hands on the device as they are remote. We're not concerned with the user data on the laptop so it would be company specific applications and policies that we deployed.
Has anyone done this before? If so, I'd love to hear how you accomplished it. If not, then if you have any ideas, it would be appreciated.
This should be pretty easy. Make sure to release the computer in Business Manager or School Manager. Then get the unit to uninstall your corporate software and then run a jamf removeFramework command. In my case, I have to off-board students in the way you're describing (sans the DEP part). I have a policy that loads a script into the /tmp directory on top of removing each of our Institutionally owned software items. This script does a number of things to clean up after the various uninstallers. On top of that, when finished, it calls the removeFramework command and another connects to our JAMF server to remove its own computer record. Beyond that, the unit will either erase the script the next time it reboots, or you could force it to reboot which also clears out hat script if necessary.