<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Get a List of All Managed and Unmanaged Devices in Okta System Logs
Multi-Factor Authentication
Okta Identity Engine
Overview

This article will help acquire a report of all managed and unmanaged devices via Okta System Logs.

Applies To
  • Multi-Factor Authentication (MFA)
  • Okta Identity Engine (OIE)
  • Okta System Logs
Solution
  1. Log in to the Okta Admin Console.
  2. Go to Reports System Log.
  3. In the Search field, run one of the queries mentioned below.
  4. Then, download the report by clicking Download CSV. It will be easier to filter depending on the company's requirements.
NOTE: System logs data is only retained for 90 days. To increase this period, it is necessary to utilize the API to export Okta log data or use log streaming. Please refer to the How to Export Okta Log Data documentation for more information.
 
To get/check the Device Trust Managed Devices Reports:

actor.id eq "[UserID]" and device.managed eq "true"


To get/check the Device Trust Unmanaged Devices Reports:

actor.id eq "[UserID]" and device.managed eq "false"


To include a specific OS Platform that was used to log in, add the following to the search (for Windows, for example):

client.userAgent.os co "Windows


Sample Search: 

actor.id eq "[UserID]" and device.managed eq "true" and client.userAgent.os co "Windows


To include the specific Application (for example, Okta Dashboard):

actor.id eq "[UserID]" and device.managed eq "true" and client.userAgent.os co "Windows" and target.alternateId eq "Okta Dashboard"


 

Results:

System log 

To verify, expand the Evaluation sign-on policy CHALLENGE, it will appear as a registered and managed device, along with the OS Platform used to log in. 

System log 

For example:

    • Device Type
      • client.device eq "Mobile"
      • client.device eq "Computer"
    • Managed/Un-managed Device
      • device.managed eq "true"
      • device.managed eq "false"
    • Desktop OS
      • client.userAgent.os co "Mac OS"
      • client.userAgent.os co "Windows"

NOTE: At this time, no out-of-the-box report is available. For an alternative solution, please refer to the How to Get a List of All Managed and Unmanaged Devices in Okta documentation to obtain device management status information via API.

Loading
How to Get a List of All Managed and Unmanaged Devices in Okta System Logs