<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
0D54z00007C59eCCAROkta Classic EngineDirectoriesAnswered2024-11-02T09:01:33.000Z2021-09-21T19:21:10.000Z2021-09-21T22:33:30.000Z

az4ij (az4ij) asked a question.

How to remove user in OKTA directory automatically

I already configured an Identity provider by SAML2 with Azure AD where I am connecting only one OU with OKTA. I am wondering if in OKTA exists a way to remove the OKTA users automatically in case I remove or move (Take off the user from OU that I am synchronizing) the user in Azure AD.


  • Hello, @az4ij (az4ij)​ 

     

    You can review the descriptions of incremental and full imports.

     

    Note that it states for incremental imports that "Users not present in the data will not be changed. (This is the type of import performed by automatic scheduled imports.)" So if you delete the user, then the data is no longer present and the user will not be disabled in Okta. Now see the description for full imports that states, "Users not present in the data will be deactivated." So this is why running a full import will deactivate the user.

     

    Instead of deleting the user entirely, just try disabling the user, so the data is still present and will get picked up by an incremental import the next time it's scheduled.

     

    Vicente

    Okta Inc

    Expand Post
This question is closed.
Loading
How to remove user in OKTA directory automatically