Application Configuration using XML for iOS devices

Application Configuration using XML for iOS devices

Hello there,

 

I have been trying to push out and make available in the Application Catalog an app called SecurePIM (version 7.75.2) to a set of test iOS (12.1.3) devices in our environment. SecurePIM is pushed automatically and works fine until I try to use the Application Configuration (xml) option to push out predefined settings such as the license code, the email address, etc. You will find my xml below:

<dict>
<recipientCertificateEmail>helpdesk@company</recipientCertificateEmail>
<deviceSerialNumber>%SERIALNUM%</deviceSerialNumber>
<license>license number goes in here</license>
<userEmail>%ENROLLEDUSER_EMAIL%</userEmail>
<activeSyncUser>domain\%ENROLLEDUSER_USERNAME%</activeSyncUser>
<activeSyncServer>server goes in here</activeSyncServer>
</dict>

 

I noticed that if I add the proper xml headers, I get a error message stating "The configuration command you entered must have 'dict' as the root node. Please check your configuration and try again".... hence the <dict></dict> tags and no <?xml version="1.0" encoding="UTF-8"?>. The other tags are specific to SecurePIM.

 

SecurePIM requires the end user to register their app and type in their email address and password before they are able to use this app. The idea behind using the xml is to streamline this process so all users need to do is type their password and the app would be pre-registered. I have been in discussions with our SecurePIM reseller who told me (and even showed me official how-to documents) on how to get this feature working in other MDM, however they have not worked with SOTI previously so weren't able to assist me. 

 

It is worth noting that when attempting to use xml application configurations, the app itself does not get pushed to the devices nor am I able to install it via the Application Catalog even though it is there.

I am hoping that a SOTI team member or a forum member has had some experience with application configuration xml for iOS devices and are able to shed some light on the problem. This is my first time attempting to pre-configure an app that we want to make available for our users.

 

Happy to provide any further information as required to hopefully get a solution to the problem. Thanks in advance.  

 

 

 

 

 

 

  • 15 February 2019
  • SOTI MobiControl
  • 3 Answers
  • 0 Upvote
  • 1 Follower
  • 2.1K Views
    • 3 Answers
    • 0 Upvote
    • 1 Follower

3 Answers

Order By:   Standard | Newest | Votes
Support Staff | posted this 27 February 2019

Hello BVale, 

 

I see that you are having trouble configuring your 3rd party application SecurePIM to work with MobiControl.

 

Can you confirm that the Macros are returning the correct information, ie SerialNUM outside of this application?

 

Also are you able to confirm that without the XML option are the users able to manually enter this information and does it work as expected?

 

Lastly what version of MC Server are you using and what error messages are you receiving in the device logs?

 

Hopefully with this information we can assist you further with trouble shooting your circumstances. 

 

Regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 2
  • 0
BVal | posted this 28 February 2019

Hi Support Staff,

Thank you for your reply.

I have since had some success on with the SecurePIM application with the following xml:

<dict>

      <key>recipientCertificateEmail</key>
      <string>helpdesk@company domain</string>
      <key>deviceSerialNumber</key>
      <string>%SERIALNUM%</string>
      <key>license</key>
      <string>license key goes here</string>
      <key>userEmail</key>
      <string>%ENROLLEDUSER_EMAIL%</string>
      <key>activeSyncUser</key>
      <string>%ENROLLEDUSER_USERNAME%</string>
      <key>activeSyncServer</key>
      <string>company server goes here</string>
</dict>

As you can see, I was actually missing the <string> tags for all of the mandatory fields for SecurePIM. I hope that this will help someone else in the future. At the time I was experiencing this issue, we were on SOTI MobiControl Cloud 13.3, but as of last night we are now on 13.4.0.5319.

To answer your initial questions, the user was able to manually input their details and gain access to SecurePIM. It was only when I attempted to push out the xml with the app that I had the issue explained in the first post. 

 

I am having a similar issue with the NextCloud and Rocket.Chat apps. I have written on their respective forums asking if anyone has an xml script (like the one seen above) or any other method to prepopulate the server and username for the users. It has been days with no answer. Like the initial request, the idea is to have the end user just type in their password and away they go.

The NextCloud xml I am using:

<dict>

      <key>servername</key>
      <string>nextcloud server goes here</string>
      <key>user_ldap</keys>
      <string>%ENROLLEDUSER_USERNAME%</string>
</dict>

 

The Rocket.Chat xml I am using:

<dict>

      <key>server</key>
      <string>rocketchat server goes here</string>
      <key>username</key>
      <string>%ENROLLEDUSER_USERNAME%</string>
</dict>

 

In the case of NextCloud, I get a message saying "The configuration command you entered does not appear to be in a valid XML format. Please check your configuration and try again". Rocket.Chat xml allows me to save the configuration, however it does not work. Perhaps the tags that I am using are incorrect, however I am unable to find this information anywhere.

 

Would anyone at SOTI support have any experience in either one of these apps? Sorry for piggybacking off my initial question, but it is the same topic, just different apps.

 

Thanks in advance.

Regards

 

BVal

  • 2
  • 0
Support Staff | posted this 11 April 2019

By the looks of it no unfortunately we not have anyone with SecurePIM, NextCloud and Rocket.Chat XML files that I am aware of.  Perhaps someone with more overall XML experience can find the error, if any. 

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback