I cannot think of a clean way to do it. You could have extension attributes monitoring for changes to the /users directory, but that would be very sloppy and would have a delay. I would say you may want to submit a feature request for this.
I use Outset for this purpose. It requires installing your own version of python first, I recommend the MacAdmins Python referenced on outset’s GitHub page.
Outset is great for login scripts, it has folders for login-once and login-every in the user context, and login-once-privileged to run the script as root. I would create a simple script and put it in login-once-privileged to call your Jamf policy to set the dock, as it would only run once when a new user is created.
#!/bin/sh
/usr/local/bin/jamf policy -event docktrigger
I use Outset for this purpose. It requires installing your own version of python first, I recommend the MacAdmins Python referenced on outset’s GitHub page.
Outset is great for login scripts, it has folders for login-once and login-every in the user context, and login-once-privileged to run the script as root. I would create a simple script and put it in login-once-privileged to call your Jamf policy to set the dock, as it would only run once when a new user is created.
#!/bin/sh
/usr/local/bin/jamf policy -event docktrigger
Thank you @jbisgett! This solution worked well for me.