Enforce managed condition during enrollment

Configure an Okta account management policy to require managed-device status for Okta Verify enrollment.

About this task

The same Okta account management policy rule conditions apply to iOS and Android devices.

The managed condition works for devices that register through Device Posture Sensor Mode and for devices where a user enrolls in Okta Verify.

On mobile, use Okta Verify for iOS version 9.73.0 or later, or Okta Verify for Android version 9.8.3 or later.

Procedure

  1. Enable the Okta account management policy EA feature for device conditions.
    1. In the Admin Console, go to Settings > Features.
    2. Enable the Use device conditions in the Okta account management policy EA feature.
  2. Create an Okta account management policy with registered and managed condition requirements.
    1. In the Admin Console, go to Security > Authentication Policies > Okta account management.
    2. Add a rule with the following conditions:
      IF
      Device state is Registered
      Device management is Managed
      The following custom expression is true:
      accessRequest.operation == 'enroll' && accessRequest.authenticator.key == 'okta_verify'
      THEN
      Access is allowed after successful authentication
      User must authenticate with any enrolled authenticator that isn't Okta FastPass
  3. Create an enrollment policy for a test user that requires Okta FastPass enrollment.
    1. In the Admin Console, go to Security > Authenticators > Enrollment.
    2. Add a policy and set Okta Verify enrollment to Required.
  4. Check that the test user account satisfies the Okta account management policy.
    1. Sign in to the Okta End-User Dashboard as your test user.
    2. Enroll in Okta Verify.
      Confirm that your user satisfies the Okta account management policy requirements for a registered and managed account.