This document discusses both device level passcode reset and work profile passcode reset on Android enterprise (formerly called Android for Work, or AfW) devices. It's important to note this distinction as requirements for each can vary. A device level passcode reset resets the passcode for the entire device. A work profile passcode reset resets the passcode only for the user's work profile on Android enterprise devices.
Supported platforms for device level passcode reset
Platform
Supported?
Android devices on version 6.x or earlier
Yes
Android Enterprise devices enrolled as Device Owner
Yes
iOS/iPadOS devices
Yes
iOS/iPadOS devices enrolled with User Enrollment
No
Android Enterprise personally-owned/corporate-owned devices enrolled with a work profile
No
Android devices on version 7.0 or later
No
macOS
No
Windows
No
Android Open Source Project (AOSP) Corporate-owned, user-associated devices
Yes
Android Open Source Project (AOSP) Corporate-owned, userless devices
Yes
For Android devices, device level passcode reset is only supported on devices running 6.x or earlier, or on Android enterprise devices running in Kiosk mode. This restriction is because Google removed support for resetting an Android 7 device's passcode/password from within a Device Administrator granted app and applies to all mobile device management (MDM) vendors.
Important
Android device administrator management is deprecated and no longer available for devices with access to Google Mobile Services (GMS). If you currently use device administrator management, we recommend switching to another Android management option. Support and help documentation remain available for some devices without GMS, running Android 15 and earlier. For more information, see Ending support for Android device administrator on GMS devices.
Supported platforms for Android enterprise work profile passcode reset
Platform
Supported?
Android enterprise devices enrolled with a work profile and running version 8.0 and later
Yes
Android enterprise corporate-owned devices with a work profile
Yes
Android enterprise devices enrolled with a work profile and running version 7.x and earlier
No
Android devices running version 7.x and earlier
No
To create a new work profile passcode, use the Reset Passcode action. This action prompts a passcode reset and creates a new, temporary passcode for the work profile only.
Reset a passcode
Sign in to the Microsoft Intune admin center with any of the following roles: Microsoft Entra Global Admin, Microsoft Entra Intune Service Admin (also known as Intune Administrator), Helpdesk Operator, or Role Administrator.
Select Devices, and then select All devices.
From the list of devices you manage, select a device, and choose Reset passcode.
Note
To successfully reset a passcode for the Work Profile of an Android device, you must configure the device passcode within device restrictions. Any attempts to reset the passcode without configuration will fail.
Reset Android work profile and Device Owner passcodes
Supported Android Enterprise personally-owned and corporate-owned work profile devices enrolled with a work profile receive a new managed profile unlock password or a managed profile challenge for the end user.
For Android Enterprise personally-owned work profile devices running version 8.x or later, end users get notified to activate their reset passcode right after enrollment completes. The notification is displayed if a work profile password is required and set. After their passcode is entered, the notification is dismissed.
After the reset passcode is selected from the admin center, a temporary passcode is presented to the admin. This passcode is provided for the following devices when running version 8.x or later:
Android Enterprise device owner
Android Enterprise personally-owned work profile
Android Enterprise corporate-owned work profile
The temporary passcode must be entered on the device. The temporary passcode for the device is displayed in the admin center for seven days.
Remove iOS/iPadOS passcodes
Instead of being reset, passcodes are removed from iOS/iPadOS devices. If there's a passcode compliance policy set, the device prompts the user to set a new passcode in Settings.
Important
If the Remove passcode action fails, Intune might have stored the wrong unlock token, and you need to Wipe the device to regain access.
Troubleshooting remote lock failures
If the remote lock action failed, validate that the configuration is correct. Here are some common issues:
If the remote lock action failed on an Android (AOSP) device, confirm that you have a device passcode policy assigned to the device. If the device doesn't have a device passcode assigned, the remote lock action doesn't succeed.
Next steps
To see the status of the action you just took, in Devices, select Device actions.
Plan and execute an endpoint deployment strategy, using essential elements of modern management, co-management approaches, and Microsoft Intune integration.