Area: Product Issues
Sub-Area: SCIM / Okta Identity Provisioning
Issue
When a user is deactivated in Okta with SCIM provisioning enabled, their DataHub account is marked Suspended, but the user can still appear as a member of their SCIM-provisioned groups (for example, an admin group). By design, the SCIM deactivation request only updates the user's status and does not touch group membership, because in SCIM group membership is managed through the group endpoints rather than the user record. There is currently no setting to automatically remove group memberships when a user is deactivated.
You Might Be Asking
- Why does a deactivated Okta user still show up in a DataHub group?
- Can DataHub automatically remove group memberships when a user is deprovisioned?
- Why can't I remove a member from an Okta-synced group in the DataHub UI?
- Why does a suspended user still appear in a group after Okta has already removed them?
Solution
What happens at deactivation:
- Okta sends
active: falseto DataHub's SCIM user endpoint, and DataHub marks the account Suspended. - That request does not change the user's group memberships, so the user can remain listed in their SCIM-provisioned groups.
- DataHub applies a corrected group member list as soon as Okta sends it. If Okta keeps sending an outdated list that still includes the deactivated user, DataHub continues to show that user as a member.
To clear stale memberships:
- In Okta, confirm the user is deactivated and is no longer a member of the Okta group itself (for example, by checking the user's groups in the Okta admin console).
- In Okta, open the DataHub application and go to the Push Groups tab.
- Select the affected group (for example, the admin group) and choose Push Now.
- Once Okta sends a member list that no longer includes the deactivated user, DataHub removes them from the group in that same request.
- Repeat Push Now for each affected group after future deactivations.
Verification: After the push, check the group membership in DataHub. Suspended users that were previously still listed should no longer appear in the group.
Additional Notes
- Automatic removal of group memberships on user deactivation is not currently supported. It has been raised with engineering as a feature request and is not scheduled.
- Groups synced from Okta are owned by Okta. Removing members directly in DataHub is not a reliable fix: in the case this article is based on, membership edits on the Okta-synced group were not possible in the UI, and any change made on the DataHub side would be overwritten the next time Okta pushes the group. Make membership changes in Okta and push them.
- If Okta's automatic pushes keep including a deactivated user, check in Okta whether the user is still treated as a member of the pushed group, and see Okta's Group Push troubleshooting guidance for the Okta side.
- Whether Okta sends a group membership change when a user is deactivated depends on how Push Groups and app assignment are configured in your Okta setup. Deactivating a user alone does not guarantee a membership removal is sent to DataHub.
Related Documentation
Tags: scim, okta, deprovisioning, group-membership, suspended-user, push-groups, push-now, identity-provisioning, sso, user-management