Blog Post

Intune Customer Success
1 MIN READ

Known issue with iOS/iPadOS passcode reset token

Intune_Support_Team's avatar
Jul 18, 2023

There's a known issue where some iOS/iPadOS 13 and newer devices enrolled in Microsoft Intune don’t return the token needed to allow a passcode reset. We first reported on this issue in the blog post, Support Tip: PowerShell Script now Available for iOS Passcode Reset Token Known Issue and noted in the Remove iOS/iPadOS passcodes documentation. Apple addressed the bug in OS version 13.3.1. However, we’re still seeing occasional impact on iOS/iPadOS devices with versions 13.3.1 and newer. This issue is very rare, but we recently received a case escalation that led us to revisit the reset token issue. We’re working with Apple to better understand why the passcode reset token is not issued or received as appropriate.

 

Perform the following steps to identify affected iOS/iPadOS 13 or newer devices and resolve this issue by unenrolling and re-enrolling the device:

  1. Run the PowerShell script provided in the GitHub PowerShell Intune samples page to identify the list of affected devices.
  2. Make sure the device user(s) have their data backed up from the device (typically through iCloud or another service).
  3. Ensure that the impacted devices are updated to the most current OS version, then unenroll and re-enroll the device.
  4. Rerun the PowerShell script. If the device still shows there, you’ll want to completely wipe the device then re-enroll.

 

Let us know if you have any questions by replying to this post or reaching out to @IntuneSuppTeam on Twitter.

Updated Dec 01, 2023
Version 3.0
  • iahvivan's avatar
    iahvivan
    Copper Contributor

    has this been sorted out im seeing some users having the same issue no similar properties among them, different iOS, both BYOD devices. Token is valid since July this year so is this still happening on 2024

    • robertmcfadden's avatar
      robertmcfadden
      Copper Contributor

      No, it's still happening. Microsoft has been pretending that it's related to this Apple bug from 5+ years ago, but it's not. We've opened 3 tickets about this since they claimed to have resolved it and it comes back every time. And every time we do they ask us for logs from the locked out device, which is obviously impossible and a ridiculous thing to ask.

  • JenniferKelly's avatar
    JenniferKelly
    Copper Contributor

    Any updates from Apple on the issue? I am seeing the failed passcode on devices that have iOS 16+ A current device I am working on was enrolled in June 2023 and the VPP Token was just renewed in April 2023.  

  • notrix's avatar
    notrix
    Copper Contributor

    The linked script isn't working because it's requiring "Microsoft.IdentityModel.Clients.ActiveDirectory.dll" and "Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll" for authentication. Both of them are not included in the AzureAD or AzureADPreview Powershell module. Therefore the Authentication method should be updated in the script.