How can i trigger a policy after JSM enrollment after the local user account got created? #211
-
|
Good morning everyone, We have an issue that i dont really know how to fix. I am trying to trigger a policy after enrollment but after the local user account got created, for a single time. The trigger "Enrollment complete" seems to be to early. The trigger "login" seems to only happen after the user restarts his mac or was afk for a long time. To give you context, we try to modify the Dock of the user (I am trying Dockutil atm) and place some applications there, but this only works when the user account is already created and the Dock is loaded. We just need to execture a SH script with the policy. Maybe someone knows some kind of trick how we can achieve this, or can guide me in the right direction. Many thanks in advance and have a great day! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Note: the login trigger should work at first login. Remember that you have to enable login events in Jamf Pro > Settings> Computer Management > Check-in |
Beta Was this translation helpful? Give feedback.
https://github.com/jamf/Setup-Manager/blob/main/Docs/FAQ.md#if-setup-manager-cannot-do-it-how-can-i-run-scripts-at-first-login
Note: the login trigger should work at first login. Remember that you have to enable login events in Jamf Pro > Settings> Computer Management > Check-in