Error :
In the software inventory for the device we can see the error “ Could not create mobilecofig ”
Server logs
2017-02-24T10:35:05.236+0100 | | INFO | http-nio-10080-exec-72 | com.sparus.nps.apple.push.ApplePush | Installing profile /cfg/VPN_test on device 522.
2017-02-24T10:35:05.298+0100 | [UID=16452,usr=xyz@example.com,dev=522] | ERROR | http-nio-10080-exec-72 | com.sparus.nps.apple.push.ApplePush | Command preparation threw an Exception. Skipping command: type=InstallProfile, identifier=com.zenprise.zdm.push.apple.InstallProfile.VPN_test, description=Installs profile 'VPN_test' on the device
java.lang.RuntimeException: Could not create mobileconfig VPN_test
at com.sparus.nps.iphone.mobileconfig.MobileConfig.toPList(MobileConfig.java:574)
at com.sparus.nps.apple.push.commands.InstallProfileCommand.asBinary(InstallProfileCommand.java:322)
at com.sparus.nps.apple.push.commands.InstallProfileCommand.prepare(InstallProfileCommand.java:250)
Caused by: java.lang.IllegalStateException: No payload identifier set
at com.sparus.nps.iphone.payload.PayloadContent.checkIdentifiersSet(PayloadContent.java:243)
at com.sparus.nps.iphone.payload.PayloadContent.toPayloadDict(PayloadContent.java:250)
at com.sparus.nps.iphone.mobileconfig.MobileConfig.createPayload(MobileConfig.java:474)
2017-02-24T10:35:05.572+0100 | | INFO | http-nio-10080-exec-71 | com.sparus.nps.ios.agent.V7ContextBuilder | No matching identity found in request from 192.168.233.18 to /zdm/ios/agent
2017-02-24T10:35:05.578+0100 | | INFO | http-nio-10080-exec-71 | com.sparus.nps.ios.agent.V9AgentUtils | Client has not supplied identity. Sending 417.