iOS Clear Passcode not working

expand collapsive

Hi, we were just testing out the features of Hexode and for one iPhone 8 device, found the clear passcode feature is not accepting. It shows some error on the history as follows-
“The passcode cannot be cleared (-1).”

Anyone with ideas to fix this?

All Replies

  • Hello @Ricky, thanks for bringing up the issue.

    Could you try updating the device if there are any pending system/OS updates. If that does not work, please try re-enrolling the device.

    Possible cause for the issue
    To manage iOS devices (or Apple devices in general), you had to provide the APNs (Apple Push Notification) certificate initially. The APN service is the centerpiece of mobile device management operations in Apple devices, and when the MDM profile is added to the device, different tokens with varying functions like device token, unlock token is also created for Hexnode by the APN service so that the device can communicate distinguishably with the MDM servers for device management. These tokens may be reissued by APNs on certain events like backup restoration, OS reinstallation etc.

    To perform the clear passcode command on a managed device, the unlock token for the device is required. If you are facing this error and the scenario is as you describe, this unlock token value might not have been updated on our servers; which could be the result of a pending OS update on the device.

    Cheers!
    Zach Goodman
    Hexnode UEM

  • Hello Elena,

    Thank you for reaching out to us.

    This issue can occur when the device is incorrectly supervised. Make sure that you do not get any warnings or errors while supervising the device. In some cases, the device will be supervised even if some warnings or errors are shown. This leads to unpredictable errors like these. Supervise the device again in such situations. Refer to our detailed help doc on supervising devices for further assistance.

    Cheers!!
    Deborah Timothy
    Hexnode UEM