We are testing the new InstallAction option InstallForceRestart (https://developer.apple.com/documentation/devicemanagement/scheduleosupdatecommand/command/updatesitem) on macOS 11 devices per the documentation and we are getting an error that it is an unsupported action for this Product Key.
If we use the InstallAction of Default instead with the same Product Key the update is fine.
Plist with error is
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "...">
<plist version="1.0">
<dict>
<key>CommandUUID</key>
<string>0b17230e-7096-4972-be30-1f23fb8c4d6d</string>
<key>ErrorChain</key>
<array>
<dict>
<key>ErrorCode</key>
<integer>12008</integer>
<key>ErrorDomain</key>
<string>MCMDMErrorDomain</string>
<key>LocalizedDescription</key>
<string>Unsupported InstallAction for this ProductKey</string>
</dict>
</array>
<key>Status</key>
<string>Error</string>
<key>UDID</key>
<string>54354E4B-F56B-5D62-83C9-990342AD570B</string>
<key>UpdateResults</key>
<array>
<dict>
<key>ErrorChain</key>
<array>
<dict>
<key>ErrorCode</key>
<integer>12008</integer>
<key>ErrorDomain</key>
<string>MCMDMErrorDomain</string>
<key>LocalizedDescription</key>
<string>Unsupported InstallAction for this ProductKey</string>
</dict>
</array>
<key>InstallAction</key>
<string>Error</string>
<key>ProductKey</key>
<string>MACOS11.1</string>
<key>Status</key>
<string>InstallFailed</string>
</dict>
</array>
</dict>
</plist>
Anyone else seeing this error or have people been able to get the InstallForceRestart option to work?
If we use the InstallAction of Default instead with the same Product Key the update is fine.
Plist with error is
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "...">
<plist version="1.0">
<dict>
<key>CommandUUID</key>
<string>0b17230e-7096-4972-be30-1f23fb8c4d6d</string>
<key>ErrorChain</key>
<array>
<dict>
<key>ErrorCode</key>
<integer>12008</integer>
<key>ErrorDomain</key>
<string>MCMDMErrorDomain</string>
<key>LocalizedDescription</key>
<string>Unsupported InstallAction for this ProductKey</string>
</dict>
</array>
<key>Status</key>
<string>Error</string>
<key>UDID</key>
<string>54354E4B-F56B-5D62-83C9-990342AD570B</string>
<key>UpdateResults</key>
<array>
<dict>
<key>ErrorChain</key>
<array>
<dict>
<key>ErrorCode</key>
<integer>12008</integer>
<key>ErrorDomain</key>
<string>MCMDMErrorDomain</string>
<key>LocalizedDescription</key>
<string>Unsupported InstallAction for this ProductKey</string>
</dict>
</array>
<key>InstallAction</key>
<string>Error</string>
<key>ProductKey</key>
<string>MACOS11.1</string>
<key>Status</key>
<string>InstallFailed</string>
</dict>
</array>
</dict>
</plist>
Anyone else seeing this error or have people been able to get the InstallForceRestart option to work?