Mobile device registration issues

Resolve problems that stop a managed iOS or Android device from registering with Okta without a user.

A managed mobile device doesn't appear as Active on the Devices page after you deploy Okta Verify and the managed app configuration, or the user sees a registration error in Okta Verify.

The reason for a failure is recorded in the local logs, which you can't easily reach because they are on the device. Check the Okta Verify message on the device and the System Log first. See System Log events for Device Posture Sensor Mode.

Nobody has opened Okta Verify on the device. Registration doesn't happen in the background, and your Mobile Device Management (MDM) solution can't open the app.

Procedure

Open Okta Verify on the device.

You can also open the app with a link, such as a universal link on iOS or an app link on Android. For WebView, open the app manually.

The managed app configuration didn't reach the device, or it's missing a required key. If the OktaVerify.DeviceRegistrationSecret key is missing, Okta Verify doesn't try to register the device and behaves like a device that isn't in Sensor Mode.

Procedure

  1. In your MDM solution, confirm that the device received the managed app configuration.
  2. Confirm that the configuration includes the org URL, the serial number, the device registration secret, and OktaVerify.AutoRegistration set to DEVICE. See Set up Device Posture Sensor Mode on mobile devices.
  3. Sync the device in your MDM solution, then open Okta Verify again.

The org URL in the managed app configuration is wrong. Okta rejects the registration.

Procedure

  1. Correct the org URL in the managed app configuration. Use OktaVerify.OrgUrl on iOS devices and domainName on Android devices.
  2. Sync the device in your MDM solution, then open Okta Verify again.

The user sees a Serial number does not match message. The serial number in the managed app configuration is different from the serial number that you preregistered.

Procedure

  1. In the Admin Console, go to Directory > Devices and find the preregistered device.
  2. Compare its serial number with the serial number that your MDM solution sends to the device.
  3. If the serial numbers differ, correct the managed app configuration. If the preregistered serial number is wrong, delete the Preregistered device, import the correct serial number, and then preregister it. See Import mobile devices into Universal Directory.

The user sees Device registration expired. The device registration secret is inactive, or the secret is no longer valid for the device.

Procedure

If you deactivated the secret, reactivate it. Otherwise, generate a new secret and rotate to it. See Rotate a device registration secret.

In the Admin Console, go to Security > Device Integrations, select the Device registration tab, and edit the secret. Under Trust this secret for Device Registration?, select Yes, trust this app hint for Device Registration now, and then select Save.

The secret reached its maximum number of registrations. Each secret has a limit, which defaults to 10,000. Devices that get a token but don't finish registering still use up a registration. Okta records the device.registration_secret.limit_reached event when a device is rejected for this reason, and the device.registration_secret.exhausted_warning event when a secret reaches 90% of its limit. See System Log events for Device Posture Sensor Mode.

Procedure

Generate a new secret and rotate your devices to it. See Rotate a device registration secret.

The device isn't preregistered, or it is in a state that can't register. Okta doesn't accept preregistration for a device that is Suspended or Deactivated.

Procedure

  1. On the Devices page, find the device by its serial number and check its status.
  2. If the device doesn't appear, import and preregister it. See Preregister mobile devices.
  3. If the device is Imported, preregister it with a device registration secret.
  4. If the device is Suspended or Deactivated, change the state first. See Device lifecycle.

On Android devices, the device tile shows Device registration failed. This device could not be registered. Contact your administrator for help. The cause can be any of the previous causes, or a network problem.

Procedure

  1. Check the previous causes.
  2. Confirm that the device has a network connection, then restart Okta Verify.

    Okta Verify doesn't retry the registration on its own. It tries again each time you restart the app.