如何使用 StageNow DO 注册到 Soti 服务器 | Zebra

如何使用 StageNow DO 注册到 Soti 服务器

Article ID:

Issue / Question

How to Enroll a Nougat Device Into Soti MobiControl Server using StageNow application  as a Device Owner (DO) using a Json file instead of an INI file.

Applicable To

Android Devices Oreo and above

Resolution / Answer

SUMMARY:

The document will demonstrate the process of using StageNow to enroll your Nougat Android device into Soti (MDM) .

Assumptions:  

  • Customer has StageNow 2.10 or greater installed on their PC.
  • To use JSON File Option requires MX8.0 or greater in StageNow on PC and Device
  • Device has wireless connectivity to network/StageNow server
  • Device has the latest version of OS available for the device installing on (Nougat or greater, can be either GMS or AOSP version of OS).
  • Device Rule for this device already exists in Soti (This demonstration used Soti MobiControl v13.3)
  • To enroll as a Device Owner (DO)    
    recommend when creating device rule on the advance tab select checkbox “Skip Google Account Addition During
  • Enrollment on Android for Work-enabled devices”
  • Device has to be in a factory default state with no 3rd party apps installed on device
  • minimum LifeGuard 7 patch required.

 
For this demonstration I will be using TC51 Nougat device.
 
Steps below:
 

  • On Device 
    • Device needs to set to Factory Default State 
  • On PC
  • Download from Soti Download page Android Plus Agent (Google included in the name , i.e., GoogleMobiControl1351_1273.apk)
  • Open StageNow (v2.10 or greater ) on PC
  • Log into Admin mode
  • Select create new profile
  • Set MX version that is on the device to 7.1 or greater (can verify in Settings > about phone/device > sw components > MXMF)
  • Select xpert mode  to create new profile, select create button
  • Enter name of profile , select Start button
  • Select Settings tab on left , and Deploy tab the Right  
  • Search for DevAdmin setting on Left and select the plus sign to add to profile 
  • Select Wizard tab on  the left  Deploy tab on the Right 
  • Select MDM Enrollment setting on left and select the plus sign to add to profile
  • Summary: DevAdmin and MDM Enrollment will be listed on the right under the deploy label
  • Select add button 
  • First section displayed is the DevAdmin section  
    • In the Install App from Unknown Sources section, Change the option from “Do not change” to “Turn on” 
    • Select continue button 
  • Next section is the MDM Agent Type  
    • You will be prompted which MDM Agent you would like to enroll
    • Select Soti
  • Next section is Device group 
    • For device group you have a choice of  OS version Nougat and above or Marshmallow and below
    • Select  Nougat and above
  • Next section is Soti Config 
    • You will be prompted if you would like to download Configuration file ,
    • Select No
  • Select continue
  • Next section is Soti Method   
    • You will be prompted if the Soti APK is already on the device. This demonstration uploads it from the PC to the device,
    • Select No, I want to Download the file to my device ,
    • Select continue
  • Next section is the Download App section
    • In this section, you are going to point to the Soti MobiControl Agent APK.
    • then select the Circle icon with the 3 dots on this window at the end of the Select a file field to open up the navigation/explorer window to point to the file (apk file) you downloaded
      • select open and then ok
    • For the Target Path and File Name on Device, put path to the /sdcard/GoogleMobiControl1351_1273.apk
    • Select continue
  • Next section is Install App
    • This section basically reviews the path of the apk that will be installed,
    • Select continue
  • Next section is the Enroll Device Owner  section
    • This section is pre-populated for admin
    • Select JSon button  
    • Select grey button with 3 dots to navigate to JSon file 
      • Note: to create a JSon file, see section below
    • Select Continue 
  • Next section is Launch Soti App
    • This section is pre-populated for admin
    • Select Continue 
    • You will be brought to a review page
  • Can review all the steps you added by selecting the Expand button and  alter your settings if you need 
  • Select Complete Profile button   
  • Select the StageNow checkbox in the Staging Client section for the type of barcode you want to scan with ..
    • Select PDF417, if using  2D scanner  or Select Linear if using 1D scanner 
  • Then Select the Test button to generate the barcode.
    • This will generate a barcode for you to scan and test to see if it does what you want. .. if it does download the OS zip file on your device and runs the OS process ,
    • Then you can select Publish button  and Stage  button to make it visible for users to access outside of Admin login mode.
       
  • Embedded in the pdf in the top right hand corner of the generated StageNow barcode is a barcode that skips the Google Welcome screen that is on the screen when a device is set to factory default; on a GMS OS device. This barcode when scanned will bypass the Google welcome screen and open StageNow
      

     
  • On the device,
    • Select the Stage Now Client  to activate the scanner to scan the barcode to start the process..
  • Note:  If you did not have the wifi profile setup in StageNow, you will need to manually set it up before scanning the barcode.
  • Note: to create JSon File, copy below lines into a text file. replace "ENTER ENROLLMENT ID HERE" with the enrollment ID that gets generated when you create a device rule in Soti. Be sure that the enrollment ID is with in the quotes 

 

{
"android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME":
"net.soti.mobicontrol.androidwork/net.soti.mobicontrol.admin.DeviceAdminAdapter",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM":
"hn8mSNJMPcovWbnnWrb-uMpWZjNlNp-jyV_2A-Whumc=\n",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION":
"https://drive.google.com/uc?export=download&id=17d1CKOBAEO1ZRTRz-U1xaZgU5MUEskel",
"android.app.extra.PROVISIONING_SKIP_ENCRYPTION":"false",
"android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED":true,
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE":{
"enrollmentId":"Enter EnrollmentID here"
}
}

+ Applicable Products

  • MC3300
  • MC3300R 系列
  • TC51
  • TC51-HC 移动数据终端
  • TC52-HC
  • TC56
  • TC57 触摸式数据终端
  • TC70x
  • TC75x
  • VC80X
  • WT6000 佩戴式终端