
yvgenyc.79398 (Customer) asked a question.
Does anybody familiar with this issue:
I add user to group in Okta -> user is correctly provisioned to my application.
Next step - I remove the user from that group in Okta. Important notice that this is the only one group user was a member of.
As a result I get PUT request on /Users, disabling user and PUT request on /Groups, where the user is still included in Members

Hello @yvgenyc.79398 (Customer) Thank you for posting on our Community page!
If a user is deactivated in Okta, the user is not removed from the group. User deactivation will retain the groups her has been assigned to.
You can see this also here https://support.okta.com/help/s/article/Deactivated-Users-not-Removed-From-Okta-Groups-Automatically?language=en_US
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Collect them all. Learn a new skill and earn a new Okta Learning badge.
Hi @paul.stiniguta1.508386743840768E12 (Okta, Inc.). Thank you for your response.
Please let me share the full scenario I tested. The user wasn't actually deactivated in Okta. 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.
As you can see the last request (7.7) preserves group membership for the user ycu4
Hello @yvgenyc.79398 (Customer)
This question is more appropriate for our dedicated Okta Developer Forum.
My advice would be to reach out via devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Collect them all. Learn a new skill and earn a new Okta Learning badge.