AD LDAP Filter Does Not Deactivate Okta Users When Using the MemberOf Filter
Last Updated:
Overview
The Active Directory (AD) Lightweight Directory Access Protocol (LDAP) Filter Early Access (EA) feature does not import or change the user status in Okta when using the memberOf attribute to de-provision users based on group membership changes during scheduled incremental imports. Updating group membership in AD changes the uSNChanged value for the group rather than the user, which prevents Okta from scanning the user object for changes. Use a different attribute in the LDAP filter to control the de-provisioning of users, or run a full import to synchronize the changes.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Directories
- Active Directory (AD)
- AD LDAP Filter
memberOf
Cause
AD incremental imports use the uSNChanged attribute to determine if an object requires an update. Updating group membership in AD changes the uSNChanged value for the group rather than the user. Because the uSNChanged value of the user remains unchanged, Okta does not scan the user object to detect group membership modifications. This behavior causes the account to remain active in Okta.
Solution
What resolves the user de-provisioning issue?
Modify the LDAP filter to use a different attribute for user de-provisioning, or execute a full import to synchronize the AD changes.
- Use a different attribute in the LDAP filter to control the de-provisioning of users.
- Run a full import to synchronize the changes.
