Package installation on macOS is failing due to a com.apple.appstored.xpc exception - MDM

When a package is published via MDM using the Install Enterprise app command provided by Apple

On one of the devices, this command is failing with com.apple.appstored.xpc exception but works fine on other macOS devices having the same restrictions and OS version. We tried restarting the device and also the appstored process via Activity Monitor but it was in vain.

I am attaching system logs that contain the exception and stack trace when the command failed.

Sorry, there is a mistake in the above description. We do not use the Install Enterprise app command. Instead, we use the Install an App command with the ManifestURL supplied in the command

Package installation on macOS is failing due to a com.apple.appstored.xpc exception - MDM
 
 
Q