Store Enrollment ID JSON File on an External Source in StageNow

KM
Kyle Mullins
CVG - Commercial Vehicle Group( Zebra OVS)

So I am trying to setup our device enrollments on an FTP server. Part of the Enrollment is the JSON file that holds the Enrollment ID. With something like the Agent file I can select to use and external source. I store the Agent on an FTP server and enter "ftp-p://USERNAME:PASSWORD@ftp.domain.com:21/Agents/GoogleMobiControl1442_1039.apk" in the external source. I do the same thing with the .bin file for the deployment package. This works great and I love it. Now when I get to the JSON file it only lets me select a file from my PC, I do not get a selection for an external source. 

So does anyone know how I can do this or a better way of getting the enrollment ID to the device?

Thanks!

4 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
4 years ago

Quite honestly I usually download the Agent directly from the SOTI hosted location and then bypass the JSON step and just barcode the enrollment ID as an additional barcode scan. One barcode to bypass the SUW, one or two barcodes to connect to WiFi and download, install, and run the AE agent, and then one barcode for the Enrollment ID. It wasn't often worth the complexity of setting up and maintaining a FTP server for the Agent and JSON file when the Agent is already hosted elsewhere and you can accomplish the JSON step with a barcode scan. 

KM
Kyle Mullins
4 years ago

The FTP server already exists for other reasons and is used by the business. I just have a directory on it, so that is no issue. I want this all on an external site because, while I am out of the cooperate office, local IT at our facilities have to occasionally enroll devices. So I provide them a barcode to do this and removing any complexity has helped a lot so far. Some facilities do not have IT so I rely on the plant personnel do follow my instructions and that always benefits from less steps. 

In the past I had an .ini file I would download from SOTI for each Enrollment Rule that did this. But StageNow doesn't seem to ask for the .ini file anymore. I wonder why this is? 

KM
Kyle Mullins
4 years ago

I figured it out, see below:

I went to SOTI > Rules > Android Plus > Right Click on Device Rule I need > Download Device Agent

Click the "Download INI File". An mcsetup.ini file will download to your PC.

When building your Enrollment Profile Step 1.1.1 will be "SOTI Config" and it will ask if you want to download a config file, Select 'Yes' and Click Continue.

The next step 1.1.1.1 will be you adding your mcsetup.ini file. This is where I store it on the FTP server and then add it as an external source. But you could just do self hosted. 

And that is it, when I take a new device (or factory reset device) and scan the StageNow barcode it does everything including enroll it automatically without having to manually add an Enrollment ID. So it goes from a new device to a up and working device in two scans, one for skipping the setup wizard and one to do everything else :)

AK
Andrew Klatt
3 years ago

Hi Kyle,

With your workaround using the INI file, how did you get around StageNow still looking for that JSON file in the StageNow Profile?  Did you remove the "Enroll Device Owner" section from the profile altogether?

Thanks! 

AK
Andrew Klatt
3 years ago

Hi Kyle,

With your workaround using the INI file, how did you get around StageNow still looking for that JSON file in the StageNow Profile?  Did you remove the "Enroll Device Owner" section from the profile altogether?

Thanks!