Posted on 12-06-2021 12:07 PM
In the midst of testing and we have a Mac at the client site that was not properly assigned to a department when DEP enrollment completed (and the department being blank meant that the computer was out of scope). Since Enrollment is the only trigger, I'm trying to figure out another way to push all of the policies that should have fired under normal circumstances. Due to the lack of mass-editing functionality in Jamf, I'm not really excited about the thought of creating Self-service versions of the same policies or making dupe policies with only that machine in scope. Is there any non-destructive way to make JSS think that the device just completed enrollment so all of these policies will fire?
Solved! Go to Solution.
Posted on 12-06-2021 12:22 PM
You can add a custom trigger for the policies and then call them via terminal
sudo jamf policy -event $customTriggerName
Since the device would be in scope, it gives you the option to run manually but wont have any adverse affects and you don't need to create new policies, you just add that as an additional trigger option alongside enrollment
03-23-2023 11:29 AM - edited 03-23-2023 11:44 AM
sudo jamf policy -event enrollmentComplete
worked for me without having to create custom triggers.
Thank you, Scottlepp
Posted on 12-06-2021 12:22 PM
You can add a custom trigger for the policies and then call them via terminal
sudo jamf policy -event $customTriggerName
Since the device would be in scope, it gives you the option to run manually but wont have any adverse affects and you don't need to create new policies, you just add that as an additional trigger option alongside enrollment
Posted on 12-07-2021 09:56 AM
sudo jamf policy -event enrollmentComplete
03-23-2023 11:29 AM - edited 03-23-2023 11:44 AM
sudo jamf policy -event enrollmentComplete
worked for me without having to create custom triggers.
Thank you, Scottlepp