Remove an Okta Verify Record from a Device for a Departing User
Last Updated:
Overview
Okta does not automatically receive notification of a local operating system wipe when an administrator reassigns a device to a new user. Deactivating a user account retains enrolled authenticators, which leaves orphaned device and authenticator bindings on the Okta server. Delete the device from the Admin Console or use the Okta API to remove the authenticators to resolve this issue. This scenario causes duplicate device records, multiple user profiles associated with the same device, or the following error when the new user attempts to enroll:
Illegal device status
Applies To
- Okta Identity Engine (OIE)
- Okta Verify
- Okta FastPass
- Multi-Factor Authentication (MFA)
Cause
- Local Wipes Do Not Notify Okta: Formatting a drive wipes local TPM/Secure Enclave enrollment keys, but does not signal the Okta tenant.
- Deactivated Users Retain Authenticators: Deactivating an Okta user account preserves their enrolled factors in case of reactivation.
- Hardware/Certificate Recognition: Okta identifies devices using unique hardware identifiers (UDID/SID) or MDM client certificates, which can cause enrollment conflicts if the prior server-side record is still marked active.
Solution
What steps remove the Okta Verify record from a wiped device?
Delete the old device record from the Admin Console to allow the new user to enroll the wiped device cleanly in Okta Verify.
- Navigate to Directory > Devices in the Admin Console.
- Search for the affected computer by display name, serial number, or Unique Device Identifier (UDID).
- Select the device, choose Deactivate, and select Delete.
The Okta API removes authenticators for a deactivated user.
Use the Okta API to remove the authenticators without deleting the user account.
- Make a
GET /api/v1/users/<userId>/authenticator-enrollmentscall to retrieve the enrolled factor IDs. - Make a
DELETE /api/v1/users/authenticator-enrollments/<authenticatorId>call to unenroll the Okta Verify factor.
