# SCIM doesn't remove user from the last group

**URL:** <https://devforum.okta.com/t/scim-doesnt-remove-user-from-the-last-group/33286>\
**Category:** SCIM\
**Created:** [June 4, 2025, 3:45pm UTC](https://devforum.okta.com/t/scim-doesnt-remove-user-from-the-last-group/33286 "2025-06-04T15:45:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yvgeny](https://avatars.discourse-cdn.com/v4/letter/y/e68b1a/32.png) [@yvgeny](https://devforum.okta.com/u/yvgeny)\
**Post date:** [June 4, 2025, 3:45pm UTC](https://devforum.okta.com/t/scim-doesnt-remove-user-from-the-last-group/33286/1 "2025-06-04T15:45:30Z")

</div>

When I remove user from the group in Okta it is only deactivated on my end, but not removed from the group.  
Please let me share the full scenario I tested. I understand that removal from the last group removes user from the application and this is the reason for deactivation, but I still expect user to be removed from the group.

1. Create group ycgr7 in Okta
2. Assign group to application
3. Push group in Okta.
4. Create user ycu4 in Okta
5. Assign ycu4 to yvgr7 in Okta.
6. As a result I see on my end user ycu4 under group ycgr7
7. Remove user from the group in Okta:  
method=PUT path=/scim/v2/Groups/1349 remoteAddr=54.189.184.116:7100 statusCode=200 requestBody=[{“schemas”:[“urn:ietf:params:scim:schemas:core:2.0:Group”],“id”:“1349”,“displayName”:“ycgr7”,“members”:[{“value”:“16337”,“display”:“[ycu4@gmail.com](mailto:ycu4@gmail.com)”}]}]

As you can see the last request preserves group membership for the user ycu4

---

<div class="post-metadata">

**Author:** ![erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@erik](https://devforum.okta.com/u/erik)\
**Post date:** [June 5, 2025, 11:43pm UTC](https://devforum.okta.com/t/scim-doesnt-remove-user-from-the-last-group/33286/2 "2025-06-05T23:43:43Z")

</div>

In this scenario is the same group being used for both group\_push and to assign the user to the application?

If so this isn’t supported,

> Okta doesn’t support using the same group for app assignment and Group Push. If your org doesn’t have separate groups for app assignment and Group Push, see [Troubleshoot app assignment and group membership](https://help.okta.com/en-us/content/topics/users-groups-profiles/usgp-group-push-troubleshoot.htm#Same).

> **[Troubleshooting Group Push | Okta Classic Engine](https://help.okta.com/en-us/content/topics/users-groups-profiles/usgp-group-push-troubleshoot.htm)**
>
> Troubleshoot Group Push issues to successfully have Okta group memberships push to supported downstream apps.

With using separate groups make sure to remove a user from the group used for group\_push first.

If group rules are used to assign the user from one group to the other you may need to open a support case to get a feature enabled.

By default Okta will not send a group update to SCIM if a user is no longer assigned to the SCIM application. When using group rules to assign a user to both groups the de-provisioning from the SCIM application is likely to happen before the group\_push update.  
Having support enabling a feature in your Org changes this behavior to send group membership updates regardless if the user is assigned to the SCIM app in Okta.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [July 5, 2025, 11:44pm UTC](https://devforum.okta.com/t/scim-doesnt-remove-user-from-the-last-group/33286/3 "2025-07-05T23:44:45Z")

</div>

Closed on July 5, 2025, 11:44pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
