The Dock MDM configuration can be used to configure the dock on macOS devices. The following is an overview and example of the Dock MDM profile.
Apple Developer Documentation can be found on this payload here: https://developer.apple.com/documentation/devicemanagement/dock
Finding the Dock Profile
To create a Dock MDM configuration, we can start off by going to Catalog >> MDM Profiles >> New.
Within the modal window, select the Dock button.
Configuring the Dock Profile
Within the below window, the macOS Dock can be configured to display a certain set of applications. In this example you will see some common application paths:
Static options can be configured as well:
The remaining settings relate to user preferences and interactions with the Dock. In this example, we will use the default options.
A breakdown of each option can be found in Apple's support documentation: https://support.apple.com/guide/mac-help/change-dock-menu-bar-preferences-mchlp1119/mac
After configuring the MDM profile to desired settings, click Save and Review.
Deploying the Profile
To deploy this profile, either add the item to your policy or deploy it via GoLive.
Here is what the Dock looks like after deployed profile looks like on the device:
Additional Notes
If you see a question mark in your dock, that means that the application was not located at the specified path. In this screenshot, you will see that Spotify was added to the profile, but is not installed on the device: