iOS MDM : Is there any way to install uninstall applicatoin on device through MDM server?

1.1k Views Asked by At

I am done with MDM implementation for iOS devices. I want to blacklist/whitelist, install/uninstall applications on devices from MDM server.

I have gone through the InstallApplication and RemoveApplication requests in MDM protocol reference document.

Can anyone give me sample of how to post the request in plist format for InstallApplication and RemoveApplication?

Also, is there any way to block and allow applications through MDM server?

1

There are 1 best solutions below

5
On BEST ANSWER

Here is example of InstallApplication (from here).

<?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>4424F929-BDD2-4D44-B518-393C0DABD56A</string>
          <key>Command</key>
               <dict>
                    <key>RequestType</key>
                    <string>InstallApplication</string>
                    <key>iTunesStoreID</key>
                    <integer>464656389</integer>
                    <key>ManagementFlags</key>
                    <integer>4</integer>
               </dict>
     </dict>
</plist>

Here is example of RemoveApplication

<?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>4424F929-BDD2-4D44-B518-393C0DABD56A</string>
          <key>Command</key>
               <dict>
                    <key>RequestType</key>
                    <string>RemoveApplication</string>
                    <key>Identifier</key>
                    <string>com.test.test</string>
               </dict>
     </dict>
</plist>

There is no functionality to whitelist and blacklist apps. However, you can query device for list of application and if you see some blacklisted application you can do some actions.