Forum Discussion

vijayrathod's avatar
vijayrathod
Level 1.5: Cupcake
4 months ago
Solved

Enroll Device Using Qr Code

I'm new to Zero-Touch technology, and I'm experiencing an issue where a device completes enrollment using a QR code, but within two hours, it automatically resets after receiving a notification.

I don't have much experience with Zero-Touch, so I'm unsure how to fully manage and complete the enrollment process. Is there another method to ensure that the device is fully managed after enrollment, or any best practices to avoid this reset issue?

Any guidance or troubleshooting tips would be greatly appreciated!

  • jasonbayton's avatar
    4 months ago

    It's behaving as designed. If you wish to use QR, remove configurations from devices in the ZT portal. 

     

    I imagine it would make more sense to create and assign the config you want to these devices from ZT though?

  • Flo's avatar
    Flo
    Level 2.0: Eclair
    4 months ago

    Hello Vijayrathod,

    If your device is on your ZTE console and has a correct configuration.  The device just need connectivity, you don't need a QR Code. The MDM client will be automatically downloaded. If you use a QR while the device is in Zero Touch, you will be prompted to reset the device to initialize it with Zero Touch.





  • vijayrathod's avatar
    vijayrathod
    Level 1.5: Cupcake
    4 months ago

     

    Thank you for replay
    I have no ZTE console, i have following step follow the device enroll process

    1) Register device with IME
    https://partner.android.com/zerotouch
    with EMM DPC with set default configuration

    2) Generate QR code and Enroll device using this link
    https://colab.research.google.com/github/google/android-management-api-samples/blob/master/notebooks/quickstart.ipynb

    Set Policy to instal app direct to play store

    {
    "applications": [
    {
    "packageName": "com.example",
    "installType": "FORCE_INSTALLED"
    }
    ],
    "advancedSecurityOverrides": {
    "developerSettings": "DEVELOPER_SETTINGS_ALLOWED"
    }
    }

    All step working fine but some device issue with auto reset device within 2 hours
    Please suggest anything missing, thanks in advance 

  • vijayrathod's avatar
    vijayrathod
    Level 1.5: Cupcake
    4 months ago

    Thank you for your replay 
    i have ZTE console  set default setting 

  • jasonbayton's avatar
    jasonbayton
    Level 4.0: Ice Cream Sandwich
    4 months ago

    It's behaving as designed. If you wish to use QR, remove configurations from devices in the ZT portal. 

     

    I imagine it would make more sense to create and assign the config you want to these devices from ZT though?

  • vijayrathod's avatar
    vijayrathod
    Level 1.5: Cupcake
    4 months ago

     i have another question is when create or update policy 

      installType: 'KIOSK' and single app running is fine but i need to stop the device auto lock, so it is possible ?
    Thanks in advance