When deploying an application purchased via Apple's Volume Purchase Program (VPP) the tasks fails with the error message "An MDM command could not be executed. -45".
"An MDM command could not be executed. -45"
Within the task details the following additional information can be found:
" [MCMDMErrorDomain] The iTunes Store ID of the application could not be validated."
First seen in Sophos Mobile Control 3.6Sophos Mobile Control as a Service 3.6
Operating systems iOS 7
The reason for this issue is that the VPP application is not assigned to the user and the Apple ID used on the device. Therefore, this Apple ID is not allowed to download the app.
In order to successfully deploy the application to this device the VPP license must be assigned to the correct VPP user related to this device. To do this, follow the steps below:
The deployment of the application should now work correctly.
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.