title: MDM OTA: Last profile in iDevice enrollment
body: <p>I meet a problem when install last profile on device, the console complains:
  Underlying error: MDM com.company.com.mdm5: The MDM payload com.company.com.mdm5 contains an invalid topic.</p>
  
  <p>I think mybe I input the wrong topic value, I tried following value, but all failed.
  1. the UID of Developer cert's Subject.
  2. the "application-identifier" value in my .mobileprovision file</p>
  
  <p>Any suggestions? Thanks in advance.</p>
  
  <p>The SCEP cert was successfully issued from the device, my profile is generated by iPCU.
  blow is part of my target profile:</p>
  
  <pre><code>&lt;dict&gt;
                      &lt;key&gt;AccessRights&lt;/key&gt;
                      &lt;integer&gt;8191&lt;/integer&gt;
                      &lt;key&gt;CheckInURL&lt;/key&gt;
                      &lt;string&gt;https://192.168.0.105/cgi-bin/checkin.py&lt;/string&gt;
                      &lt;key&gt;CheckOutWhenRemoved&lt;/key&gt;
                      &lt;true/&gt;
                      &lt;key&gt;IdentityCertificateUUID&lt;/key&gt;
                      &lt;string&gt;000000-0000-0000-0000-0000&lt;/string&gt;
                      &lt;key&gt;PayloadDescription&lt;/key&gt;
                      &lt;string&gt;Configures MobileDeviceManagement.&lt;/string&gt;
                      &lt;key&gt;PayloadIdentifier&lt;/key&gt;
                      &lt;string&gt;com.company.com.mdm5&lt;/string&gt;
                      &lt;key&gt;PayloadOrganization&lt;/key&gt;
                      &lt;string&gt;Company&lt;/string&gt;
                      &lt;key&gt;PayloadType&lt;/key&gt;
                      &lt;string&gt;com.apple.mdm&lt;/string&gt;
                      &lt;key&gt;PayloadUUID&lt;/key&gt;
                      &lt;string&gt;7AF006C2-E2BC-4606-8C3B-29A9C421F62D&lt;/string&gt;
                      &lt;key&gt;PayloadVersion&lt;/key&gt;
                      &lt;integer&gt;1&lt;/integer&gt;
                      &lt;key&gt;ServerURL&lt;/key&gt;
                      &lt;string&gt;https://192.168.0.105/cgi-bin/server.py&lt;/string&gt;
                      &lt;key&gt;SignMessage&lt;/key&gt;
                      &lt;false/&gt;
                      &lt;key&gt;Topic&lt;/key&gt;
                      &lt;string&gt;com.apple.pineapple&lt;/string&gt;
                      &lt;key&gt;UseDevelopmentAPNS&lt;/key&gt;
                      &lt;true/&gt;
              &lt;/dict&gt;
  </code></pre>