Is anyone managing dock items with Jamf Pro on MacOS 11 devices? I've tried many different formats (ie. file://System/Applications/Mail.app) that I've seen posted in discussions (such as here) but nothing seems to be applying to the computer. No matter what I do, the dock essentially has nothing in it except for the 3 most recently opened items.
This is my first foray into managing MacOS computers (previously we've only managed IOS devices) so I may be missing something simple.
I've had good luck using dockutil to manage users' Docks via scripts. It's a little tricky to get going since Jamf Pro runs scripts as root, and in Big Sur you can't as easily modify another user's Dock, like you could with dockutil under previous OSes.
I'm sure there's a more Apple-supported way to do this, but my workflow is letting Jamf Pro provide the username (in the third argument) and basically just running
su $3 -c "dockutil [whatever]" in my script.
I am not able to remove the Mail.app Dock Item. I have tried all kind of paths.
I have flushed the policy log and re-run the "sudo jamf policy". I see that the policy runs and the screen and dock get refreshed. However, the Mail.app still appears on the Dock. 😞
Does any know how to remove the Mail.app and other built-in apps on the Dock? Does the Jamf's Dock Item + Policy work? I am trying to avoid using 3rd-party solution like Dockutil, Dockmaster, and Dockbuilder. Thanks.