Script set PIN using %CustomAttr%
Thank you for posting on SOTI Central.
Could you please share some information about the device such as Manufacturer, Model, OS version and method of enrollment (i.e Android Classic or Android Enterprise)?
Technical Support | SOTI Inc. | 1.905.624.9828 | firstname.lastname@example.org | www.soti.net |
Have you configured your 'PIN" custom attribute value to be propagated to targeted devices in the custom attribute manager of your MobiControl web console?
Hi thanks for your answer,
- MEMOR 10
- Android 8.1.0
- Android Enterprise
On Global Settings > Device Settings > PIN > Send To Device ON
I need some settings more?
today I've rebooted all my memor 10 and check-In again and works perfect. I don't know what's happen yesterday :(
PIN -> 1234
And in my device appears 1234
Tested with resetpassword and works fine :)
resetpassword %CustomAttr:PIN%- bypass_secure_startup
After turning on the propagate (i.e. the "send to device" in newer UI as shown in your screenshot), it takes some time for the MobiControl server to schedule getting the custom attribute key pair sent to each of the targeted device in the next server-device update/sync. If you don't want to wait, you should be able to make this happen almost instantly by initiating a "device check-in" action. A device reboot can of course get the same result.