I am trying to create a simple MDM server to manage iOS devices. But I am struggling with "MDM Enrollment Profile", I am creating this profile using ipcu. But when I am opening this profile through email (or weblink) there is nothing happening.
Let me share what I am doing to create "MDM Enrollment Profile" - Creating new profile in ipcu. - Filling details for "General" section - Filling details for "Mobile Device Management" - Filling details for "Credentials" as it is required to complete above step - Then I am exporting using the export button. Choosing none for the security.
Then I am emailing resulting file and opening on device but nothing happening when I open the file, its not asking me to open/install the file. (I tried with creating a weblink also, but no luck).
What I am doing wrong? Is there any documentation available on creating "MDM Enrollment Profile". Please help.
Update 1 -
I tried to open the mobileconfig file and see what is causing issues. After a lot of trial and error I found that if I remove this dictionary form the file it start working -
<dict>
<key>AccessRights</key>
<integer>8191</integer>
<key>CheckInURL</key>
<string>https://server-domain/workplace3/logiphone/</string>
<key>CheckOutWhenRemoved</key>
<false/>
<key>PayloadDescription</key>
<string>Configures Mobile Device Management</string>
<key>PayloadDisplayName</key>
<string>Mobile Device Management</string>
<key>PayloadIdentifier</key>
<string>com.server-domain.profile.mdm-one.</string>
<key>PayloadOrganization</key>
<string></string>
<key>PayloadType</key>
<string>com.apple.mdm</string>
<key>PayloadUUID</key>
<string>CC7E12CB-DA53-4D4E-AB7D-39B45A453146</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>ServerURL</key>
<string>https://server-domain/</string>
<key>SignMessage</key>
<false/>
<key>Topic</key>
<string>push_topic</string>
</dict>
Any idea what is wrong in above dictionary ?