---
title: Generating a one-time PIN for resetting a secure apps passcode
slug: device-management-apple/generating-a-one-time-pin-for-resetting-a-secure-apps-passcode
createdAt: 2026-10-06T07:47:38.633Z
---

On the AppConnect global policy, you can configure Ivanti EPMM to allow iOS device users to reset their secure apps (AppConnect) passcode when they forget it. When you have configured this option, device users who registered with Ivanti EPMM using a user name and *password* can enter those credentials in Ivanti Mobile\@Work for iOS > the Secure Apps Manager to authenticate themselves and then reset their secure apps passcode. However, device users who registered with Ivanti EPMM using a *registration PIN* need a different mechanism for authenticating themselves.

This mechanism involves these steps:

1. The user generates a one-time PIN on the user portal. The one-time PIN is valid for 24 hours.
2. In Ivanti Mobile\@Work for iOS > the Secure Apps Manager on a device, the user follows the instructions for resetting a forgotten secure apps passcode.
3. When prompted for his user credentials, the user enters his user name and the one-time PIN.
4. The user resets his secure apps passcode.

## Configuration requirements to allow the user portal to generate a one-time PIN

The user portal displays the option to generate a one-time PIN only if you have configured all of the following in the Admin Portal:

- The user portal role that allows the user to reset their secure apps passcode
- A license for AppConnect third-party and in-house apps, Ivanti Docs\@Work, or Ivanti Web\@Work
- An AppConnect global policy for the device that allows users to recover their AppConnect passcodes.

## Configuring the user portal to generate a one-time PIN

**Procedure**

1. In <font color="#323232">Devices &amp; Users &gt; Users</font>, select the user.
2. Select <font color="#323232">Actions &gt; Assign Roles.</font>
3. In the Assign Role(s) dialog box, select <font color="#323232">Reset Secure Apps Passcode</font>.
4. Select <font color="#323232">Save</font>.
5. In **Settings > System Settings > Additional Products > Licensed Products**, select at least one of the following:
   - AppConnect for Third-party and In-house Apps
   - Ivanti Docs\@Work
   - Ivanti Web\@Work
6. In <font color="#323232">Policies &amp; Configurations &gt; Policies</font>, select the AppConnect global policy for the device.
7. In the Policy Details panel, select Edit. The Modify AppConnect Global Policy dialog box opens
8. In the <font color="#323232">AppConnect passcode</font> section, select <font color="#323232">Passcode is required for iOS devices</font>.
9. Select <font color="#323232">Allow iOS users to recover their passcode</font>.
10. Select <font color="#323232">Save</font>.
