How can I dynamically assign groups based on Department without individual Group Rules?
Our org structure is such that we have 60-70 different numerical values for Department (101, 102, 103, etc.) and I am looking for a way to automatically assign a group in Okta to a user based on their Department attribute. Obviously, I'd rather not do this manually by creating 60-70 different group rules, one for each group. Is there a way to write a rule that says:
X = user.department If Department = X then assign group "Department - " + X
For example, it would see a user with Department = 203 and assign a group called "Department - 203"
Thank you for reaching out to Okta Support! Currently, the Group rules can handle assigning users from multiple groups to one group, assigning users from one group to multiple groups or the previous two combined. However, the rule cannot process the conditions defined in the string and assign the users accordingly to the one of the groups that have been specified in the "Assign to" section. Although the feature is not available, we would recommend submitting the request as an Idea, in the Help and Support section, providing as much details as possible, as the idea can be commented and upvoted by other members of the community. This makes it much easier for the engineering team to understand the priorities that you have for feature requests. From there, the PM team will review the top 30 most voted upon ideas each month and provide feedback/roadmap status on these via the forum. If you require any additional details, please do not hesitate to open a support ticket and we will further assist.