
9u1md (9u1md) asked a question.
Hello, my org is developing a workflow to remove all Office 365 licensing from users when they are added to a specific OKTA group in order to facilitate our offboarding process. I'm in the middle of testing and am unable to assign the group to deactivated users. I'm just making sure that this is expected behavior. If so, we'd need to assign the group to them before they are deactivated, correct?
Thank you!

@9u1md (9u1md) - Correct. This is expected behavior. When a user is in a deactivated/deprovisioned state they can be removed from groups but not added to them. This is true for the Okta Admin UI or using any other API tool such as Okta Workflows.
There are other restrictions on Deactivated / Deprovsioined users also. In general if you want to make changes to the user you will want to do it prior to deactivated state.
Finally, you can add users into a group if they are in a suspended state. A suspended state would also prevent their login to resources. So for example if you changed the process to Suspend > Do actions > Deactivate during the entire duration they would be unable to login to Okta.