<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
Methods for Initiating Active Directory Imports in Okta
Directories
Overview

Administrators can initiate Active Directory (AD) imports in Okta manually or schedule them to recur automatically. This guide details the methods and limitations for starting an AD import and how to distinguish between manual and scheduled imports using System Log queries.

Applies To
  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Directories
  • Active Directory (AD) Imports
Solution

How are manual Active Directory imports initiated?

Administrators must use the Okta Admin Console to manually start full or incremental Active Directory (AD) imports. Navigate to the Directory Integrations page in the Okta Admin Console to initiate a manual import.

  1. Go to Directory, and then select Directory Integrations.
  2. Select the [AD] instance, and navigate to the Import tab.
  3. Select Import Now.

Active Directory import tab, import hightlighted

 

How are scheduled Active Directory imports configured?

Okta allows administrators to schedule imports to recur automatically. Configure a scheduled import within the Okta Admin Console to automate the synchronization process.

  1. Go to Directory, and then select Directory Integrations.
  2. Select the [AD] instance.
  3. Navigate to the Provisioning tab.
  4. Under the Settings heading, select To Okta.
  5. In the General section, select Edit.
  6. Choose the import frequency from the Schedule import dropdown menu.

Active Directory import schedule

  1. Click Save.

 

How does Just-in-Time provisioning handle imports?

Just-in-Time (JIT) Provisioning, or Real-Time Sync, syncs individual user profiles during user login or when an administrator views the user profile page in the Okta Admin Console.

 

What are the limitations of initiating Active Directory imports?

Administrators cannot manually trigger AD imports using the Okta Application Programming Interface (API), PowerShell, or any method other than the Okta Admin Console.

 

 
Okta begins all scheduled imports as incremental imports but converts them to full imports if certain conditions are detected that require it.

 

NOTE: Okta requires the previous import to complete before beginning a new import.

 

How are manual and scheduled imports distinguished in the System Log?

The Okta System Log (Reports > System Log) distinguishes manual imports from scheduled imports. Run the following query in the System Log to view all import start events.

eventType eq "system.import.start"

After running the query, expand the event and check the ImportTrigger field for Manual action versus Scheduled to identify how the event was triggered. The ImportType field indicates whether the import performed was Incremental or Full.

 

System Log - Active Directory import event details

Filter the System Log to display only manual imports by using the following query.

eventType eq "system.import.start" and debugContext.debugData.importTrigger eq "Manual action"

 

Related References

Loading
Methods for Initiating Active Directory Imports in Okta