10-30-2023 11:21 AM - edited 10-30-2023 11:22 AM
Is there a way to send mass action commands in Jamf Pro to reset all settings on iPads while keeping the Wifi Profile? That way I don't have to manually re-enter the Wifi password on hundreds of iPads after wiping them to prepare for new students???
Posted on 10-30-2023 11:26 AM
This would be amazing!
Posted on 10-30-2023 11:51 AM
Not sure that there is a mass action option for this (yet), but there is a new API endpoint that may work depending on your setup:
https://learn.jamf.com/bundle/technical-articles/page/Return_to_Service.html
https://developer.jamf.com/jamf-pro/reference/post_preview-mdm-commands (ERASEDEVICECOMMAND section)
Posted on 10-30-2023 02:11 PM
Agree with @dwbergstrom! Return to Service is (will be?) a great answer to this.
With Jamf Pro and its Return to Service feature, you’ll be able to send a remote Wipe command that includes a Wi-Fi profile. The Wi-Fi profile is preserved throughout the wipe and then applied automatically during an abbreviated Setup Assistant process. (I say “abbreviated” because it’s completely hands-free and reapplies prior settings like language.) Connecting to Wi-Fi is enough to allow the iPad to reconnect to Wi-Fi, activate and re-enroll in Jamf Pro.
Return to Service is currently API-only as the feature is fine-tuned, but I expect it should come to the Jamf Pro interface before long. If you haven’t signed up for the Jamf Pro beta in your Jamf Account, you should do so. It’s a good way to see what’s coming next and to try things before they’re released.
11-14-2023 09:28 AM - edited 11-14-2023 09:31 AM
I've been playing around with Return to Service Jamf API, seeing how it works -- and I wrote up a full example in Python if anyone's interested:
https://github.com/MatthewPrins/Jamf/blob/main/Return_to_Service_Serials.py
This script uses individual serial numbers as the basis for the command. I'll probably do a similar one where you can run the command on an entire group, but first I want to think about what controls I want to make sure I don't (or someone else doesn't) accidently erase every iPad in their Jamf instance.