<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
0D54z0000AFsMoqCQFOkta Classic EngineDirectoriesAnswered2024-10-31T22:12:23.000Z2024-10-04T15:59:17.000Z2024-10-31T22:12:23.000Z

DeepakJ.82907 (Customer) asked a question.

Is it possible to force sync Active Directory user profiles, users, and group memberships to Okta programmatically?

We have a ASP.NET web application that uses delegated authentication with Active Directory (AD). In this application, we are updating the user's email address in AD as well as the database. However, the changes are not getting reflected in Okta until a real-time sync is triggered with either of the following:

- The user signs out and signs back in

- An Okta Admin loads or refreshes a user's profile on the People page

 

We would like to know if there is a way to trigger a sync from AD using Okta SDK.


  • Mihai N. (Okta, Inc.)

    Hi @DeepakJ.82907 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

    This is currently not supported. There is a Feature Request under consideration to make AD import triggers via API. You can review and upvote it here

    In the meantime, you can set up scheduled imports from AD via the Admin UI to keep your profiles updated. 

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
  • Mihai N. (Okta, Inc.)

    Hi @DeepakJ.82907 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

    This is currently not supported. There is a Feature Request under consideration to make AD import triggers via API. You can review and upvote it here

    In the meantime, you can set up scheduled imports from AD via the Admin UI to keep your profiles updated. 

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
    • DeepakJ.82907 (Customer)

      Hi @Mihai N. (Okta, Inc.)​,

      I tried navigating to the feature request link, and get a 404 error.

      The scheduled imports would not satisfy our requirement because we need the sync to happen in real-time and the scheduled imports can happen only as often as 1 hour.

      Thanks

      Expand Post
      • DeepakJ.82907 (Customer)

        I ended up searching for the case# and found it. I upvoted it and it seems like it is under Product review.

This question is closed.
Loading
Is it possible to force sync Active Directory user profiles, users, and group memberships to Okta programmatically?