IOS 8 - MDM error while removing profile with provided identifier
I've implemented a custom solution for an MDM vendor, It works well but lately with an Iphone 6 device with IOS 8.1.3 installed, I got this error (MDM ErrorCode: 12013) while performing a "RemoveProfile" command. Here is command provided:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<plist version="1.0">
<dict>
<key>Command</key>
<dict>
<key>Identifier</key>
<string>com.nttdata.dymora.policy.restrictions.80EA49BF-9506-450E-8D99-6A9DA6ED 6999</string>
<key>RequestType</key>
<string>RemoveProfile</string>
</dict>
<key>CommandUUID</key>
<string>dd71d6d0-5e04-4baf-9408-841e01227bfb</string>
</dict>
</plist>
and here is device response:
<?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>CommandUUID</key>
<string>dd71d6d0-5e04-4baf-9408-841e01227bfb</string>
<key>ErrorChain</key>
<array>
<dict>
<key>ErrorCode</key>
<integer>12013</integer>
<key>ErrorDomain</key>
<string>MCMDMErrorDomain</string>
<key>LocalizedDescription</key>
<string>Il profilo “com.nttdata.dymora.policy.restrictions.80EA49BF-9506-450E-8D99-6A9DA6ED6999<E2 ><80>? non è gestito da MDM.</string>
<key>USEnglishDescription</key>
<string>The profile “com.nttdata.dymora.policy.restrictions.80EA49BF-9506-450E-8D99-6A9DA6ED6999<E2 ><80>? is not managed by MDM.</string>
</dict>
</array>
<key>Status</key>
<string>Error</string>
<key>UDID</key>
<string>bc880d07f41f5ef84a06253ee89a4bdd2b584b84</string>
</dict>
</plist>
I don't understand the reason why this command return such error, it has always worked properly!?!? Is there anyone with same error?
Thanks!
Paolo
iPhone 6, iOS 8.1.3