Vote count:
0
I created an mobile config profile with General, Restrictions, Credentials, Mobile Device Management payload. I can successfully installed the profile in my "Supervised" iPhone4S. From Server, Device Lock command is working fine. But AppLock command is not working? Below are the logs of that device and code of server.
Oct 31 11:33:16 iPhone4S-1 mdmd[156] <Notice>: (Note ) MDM: Received push notification.
Oct 31 11:33:16 iPhone4S-1 mdmd[156] <Notice>: (Warn ) MDM: Ignoring extra keys in push dictionary: {
aps = {
};
}
Oct 31 11:33:16 iPhone4S-1 mdmd[156] <Notice>: (Note ) MDM: Polling MDM server http://ift.tt/1rYKmk0 for next command.
Oct 31 11:33:19 iPhone4S-1 mdmd[156] <Notice>: (Note ) MDM: Transaction completed. Status: 200
Oct 31 11:33:19 iPhone4S-1 mdmd[156] <Notice>: (Note ) MDM: Polling MDM server http://ift.tt/1rYKmk0 for next command.
Oct 31 11:33:19 iPhone4S-1 mdmd[156] <Notice>: (Note ) MDM: Transaction completed. Status: 200
Oct 31 11:33:19 iPhone4S-1 mdmd[156] <Notice>: (Note ) MDM: Polling MDM server http://ift.tt/1rYKmk0 for next command.
Server Code:
public static String getAppLockPList(){
StringBuffer backString = new StringBuffer();
backString.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
backString.append("<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\"");
backString.append("\"http://ift.tt/vvUEPL\">");
backString.append("<plist version=\"1.0\">");
backString.append("<dict>");
backString.append("<key>PayloadContent</key>");
backString.append("<array>");
backString.append("<dict>");
backString.append("<key>App</key>");
backString.append("<dict>");
backString.append("<key>Identifier</key>");
backString.append("<string>com.company.identifier</string>");
backString.append("</dict>");
backString.append("<key>PayloadType</key>");
backString.append("<string>com.apple.app.lock</string>");
backString.append("<key>PayloadIdentifier</key>");
backString.append("<string>com.company.identifier</string>");
backString.append("<key>PayloadUUID</key>");
backString.append("<string>d7e27098ad530884664a98a6f93ab3796f97b</string>");
backString.append("<key>PayloadVersion</key>");
backString.append("<integer>1</integer>");
backString.append("</dict>");
backString.append("</array>");
backString.append("<key>PayloadType</key>");
backString.append("<string>Configuration</string>");
/*backString.append("<key>PayloadDisplayName</key>");
backString.append("<string>##########</string>");*/
backString.append("<key>PayloadIdentifier</key>");
backString.append("<string>com.company.identifier</string>");
backString.append("<key>PayloadUUID</key>");
backString.append("<string>d7e27098ad530884664a98a6f93ab3796f97b</string>");
backString.append("<key>PayloadVersion</key>");
backString.append("<integer>1</integer>");
backString.append("</dict></plist>");
return backString.toString();
}
asked 44 secs ago
AppLock command not working with MDM on Supervised device
Aucun commentaire:
Enregistrer un commentaire