We're new to Jamf and I've been putting together a policy that's triggered by prestage enrollment on a clean installation of High Sierra (10.13.3) to get everything all set up in a convenient, hands-off way. Everything works beautifully except for giving the Administrator account full privileges to remotely manage the Mac.
I'm using this script:
https://www.jamf.com/jamf-nation/third-party-products/files/217/enableard-sh-enable-ard-and-configure-remote-management-settings
I've tried hard-coding the Target Username and using parameter 4.
I know the script is running since Remote Management is getting enabled, but the "Allow Access for: Only these users: Box" remains empty. I thought maybe those commands just don't populate that box but sure enough, screen sharing doesn't work for the administrator account unless I manually add it to that Box.
I've tried with various accounts, running the script while logged in, at login, and at startup.
Everything I've found so far on Jamf Nation simply points me toward those same commands and similar scripts.
Was hoping someone could point out some tiny thing I'm missing here.
Thanks!