API to force AD Import Skip to main content
https://support.okta.com/help/answers?id=906f0000000hzr1iac&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
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. 

https://support.okta.com/help/articles/Knowledge_Article/33094506-About-Real-Time-Sync