setup-your-mac / Setup-Your-Mac

Setup Your Mac aims to simplify initial device configuration by leveraging swiftDialog and Jamf Pro Policy Custom Events to allow end-users to self-complete Mac setup post-enrollment.
https://snelson.us/sym
MIT License
249 stars 55 forks source link

Enrollment Complete plist/setting #127

Closed mattdjerome closed 8 months ago

mattdjerome commented 9 months ago

This is not a problem with SYM but a feature that will make it better when integrating into Jamf/other MDM's. We ran into a problem where we use the Enrollment Complete trigger to launch SYM. When your MDM renews the MDM cert every 2 years, it can trigger another enrollment.

To remedy this on our end we took 2 measures. The first is to run the script only once at enrollment, we also have a custom plist to state the enrollment is complete into an EA.

it would be helpful if there was a native SYM component to complete this task.

drtaru commented 9 months ago

This is all a scoping exercise. I don’t think building in a “don’t run again” mechanism makes sense as you can do exactly what you described and just have an exclusion smart group scoped to the enrollment policy.

Thats how I do it.

dan-snelson commented 9 months ago

… just leave a trail of breadcrumbs