title: Is it possible to send multiple commands in single plist - apple MDM protocol
body: <p>We are developing an MDM for an enterprise solution. We were able to execute a few commands on the device and facing some challenges while developing a particular use case: To send multiple commands in Single plist.</p>
  
  <p>We have tried with a few XML changes but there was an error, you can find XML below:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
      &lt;dict&gt;
          &lt;key&gt;Command&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;RequestType&lt;/key&gt;
              &lt;string&gt;DeviceLock&lt;/string&gt;
          &lt;/dict&gt;
          &lt;key&gt;CommandUUID&lt;/key&gt;
          &lt;string&gt;543631bc-7030-11ea-bc55-0242ac130003&lt;/string&gt;
      &lt;/dict&gt;
      &lt;dict&gt;
          &lt;key&gt;Command&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;ManagementFlags&lt;/key&gt;
              &lt;integer&gt;0&lt;/integer&gt;
              &lt;key&gt;iTunesStoreID&lt;/key&gt;
              &lt;integer&gt;1237819720&lt;/integer&gt;
              &lt;key&gt;Options&lt;/key&gt;
              &lt;dict&gt;
                  &lt;key&gt;NotManaged&lt;/key&gt;
                  &lt;boolean&gt;true&lt;/boolean&gt;
              &lt;/dict&gt;
              &lt;key&gt;RequestType&lt;/key&gt;
              &lt;string&gt;InstallApplication&lt;/string&gt;
          &lt;/dict&gt;
          &lt;key&gt;CommandUUID&lt;/key&gt;
          &lt;string&gt;abcd&lt;/string&gt;
      &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>