-
Notifications
You must be signed in to change notification settings - Fork 3
10 Reasoning
Johan McGwire edited this page Jan 13, 2020
·
2 revisions
Currently when a new JAMF machine gets enrolled there is an enrollmentComplete
policy trigger that happens. This trigger is extremely unreliable though as it can be interrupted by multiple items:
- A transition of the machine from having
_mbtsetupuser
logged in to having the user account logged in causes the policy call to stop executing - A lack of network connectivity causes the
enrollmentComplete
trigger to not return any polices - A network transition in the middle of the
enrollmentComplete
policy call will cause the policy call to stop due to theNetworkStateChange
trigger overriding the call. - The machine shutting down or restarting during the enrollment process will cause the trigger to possibly not fire or be interrupted with no recovery on the trigger as it is only called once.
All of these things lead to the JAMF policy call not executing correctly and/or fully. Therefore I developed a better way to do it reliably