API to force AD Import Skip to main content
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Trey McGlaunTrey McGlaun 

API to force AD Import

Is there a way to script forcing Okta to import Active Directory information immediately?  I know we can set the schedule to once an hour but we would like to be able to force an import on demand.  A PowerShell Command would be the greatest thing ever!
Darron HellmannDarron Hellmann (Okta)
Hi Trey

Although we don't provide a means to trigger an import via a PowerShell command, we do offer a feature called Realtime Sync. Real-time sync updates user profiles, groups, and group memberships during sign-in instead of waiting for a scheduled import. You do not have to import all the users in your directory beforehand. Real-time sync also updates user information whenever you load or refresh a user's People page. If you'd like to learn more, submit a support ticket and we'll run through the specifics.