You can use your MDM to force allow first time Automox notifications for macOS computers starting with 10.15 (Catalina).
Privacy controls in macOS starting with macOS 10.15 (Catalina) require users to allow or deny new notification center messages. For macOS computers—this includes 10.15, 11, and 12 (Catalina, Big Sur, and Monterey)—users might not see the first Automox notification sent even if Allow is selected.
If you use a Mobile Device Manager (MDM), you can push out a notifications payload to force allow all Automox notifications. At this time, Apple allows only one notifications payload per device, so you will need to include Automox notification settings in any existing notifications payloads.
Note: The preferred domain for notifications is com.apple.notificationsettings
How to Generate the payloadUUID
for Your Mac
Run
uuidgen
to generate thepayloadUUID
for your specific Mac. This should also generate apayloadIdentifier
key.Replace the given
payloadUUID
andpayloadIdentifier
with those you have generated.
For more information about payloadUUID
and configuration profiles, please see the Apple Developer Documentation.
Example - Automox Notifications MDM payload
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>PayloadContent</key> <array> <dict> <key>NotificationSettings</key> <array> <dict> <key>AlertType</key> <integer>2</integer> <key>BadgesEnabled</key> <true/> <key>BundleIdentifier</key> <string>com.automox.automox-notifier</string> <key>CriticalAlertEnabled</key> <false/> <key>GroupingType</key> <integer>0</integer> <key>NotificationsEnabled</key> <true/> <key>ShowInLockScreen</key> <true/> <key>ShowInNotificationCenter</key> <true/> <key>SoundsEnabled</key> <true/> </dict> </array> <key>PayloadDescription</key> <string>Configures notifications settings for Automox</string> <key>PayloadDisplayName</key> <string>Configures notifications settings for Automox</string> <key>PayloadIdentifier</key> <string>com.apple.notificationsettings.AE35A3DC-56BC-48EB-8C4D-F4C5AE4D1C5C</string> <key>PayloadType</key> <string>com.apple.notificationsettings</string> <key>PayloadUUID</key> <string>AE35A3DC-56BC-48EB-8C4D-F4C5AE4D1C5C</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </array> <key>PayloadDisplayName</key> <string>Set Automox Notifications</string> <key>PayloadIdentifier</key> <string>com.automox.notifications</string> <key>PayloadRemovalDisallowed</key> <false/> <key>PayloadType</key> <string>Configuration</string> <key>PayloadScope</key> <string>System</string> <key>PayloadUUID</key> <string>9BDB7BAF-A3D0-4231-89DB-029D2A3745C2</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </plist>
Adding Automox to your existing Notifications payload
If you need to add Automox to your existing notifications payload, add the following to your existing payload:
<dict> <key>AlertType</key> <integer>2</integer> <key>BadgesEnabled</key> <true/> <key>BundleIdentifier</key> <string>com.automox.automox-notifier</string> <key>CriticalAlertEnabled</key> <false/> <key>GroupingType</key> <integer>0</integer> <key>NotificationsEnabled</key> <true/> <key>ShowInLockScreen</key> <true/> <key>ShowInNotificationCenter</key> <true/> <key>SoundsEnabled</key> <true/> </dict>
Example - allow notifications for Microsoft Office and Automox
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>PayloadContent</key> <array> <dict> <key>NotificationSettings</key> <array> <dict> <key>AlertType</key> <integer>2</integer> <key>BadgesEnabled</key> <true/> <key>BundleIdentifier</key> <string>com.automox.automox-notifier</string> <key>CriticalAlertEnabled</key> <false/> <key>GroupingType</key> <integer>0</integer> <key>NotificationsEnabled</key> <true/> <key>ShowInLockScreen</key> <true/> <key>ShowInNotificationCenter</key> <true/> <key>SoundsEnabled</key> <true/> </dict> <dict> <key>AlertType</key> <integer>2</integer> <key>BadgesEnabled</key> <true/> <key>BundleIdentifier</key> <string>com.microsoft.Word</string> <key>CriticalAlertEnabled</key> <false/> <key>GroupingType</key> <integer>0</integer> <key>NotificationsEnabled</key> <true/> <key>ShowInLockScreen</key> <true/> <key>ShowInNotificationCenter</key> <true/> <key>SoundsEnabled</key> <true/> </dict> <dict> <key>AlertType</key> <integer>1</integer> <key>BadgesEnabled</key> <true/> <key>BundleIdentifier</key> <string>com.microsoft.Excel</string> <key>CriticalAlertEnabled</key> <false/> <key>GroupingType</key> <integer>0</integer> <key>NotificationsEnabled</key> <true/> <key>ShowInLockScreen</key> <true/> <key>ShowInNotificationCenter</key> <true/> <key>SoundsEnabled</key> <true/> </dict> </array> <key>PayloadDescription</key> <string>Configures notifications settings for Automox</string> <key>PayloadDisplayName</key> <string>Configures notifications settings for Automox</string> <key>PayloadIdentifier</key> <string>com.apple.notificationsettings.AE35A3DC-56BC-48EB-8C4D-F4C5AE4D1C5C</string> <key>PayloadType</key> <string>com.apple.notificationsettings</string> <key>PayloadUUID</key> <string>AE35A3DC-56BC-48EB-8C4D-F4C5AE4D1C5C</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </array> <key>PayloadDisplayName</key> <string>Set Automox Notifications</string> <key>PayloadIdentifier</key> <string>com.automox.notifications</string> <key>PayloadRemovalDisallowed</key> <false/> <key>PayloadType</key> <string>Configuration</string> <key>PayloadScope</key> <string>System</string> <key>PayloadUUID</key> <string>9BDB7BAF-A3D0-4231-89DB-029D2A3745C2</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </plist>
Comments
0 comments
Article is closed for comments.