<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007fWjRhCAKOkta Classic EngineDirectoriesAnswered2023-08-16T12:15:35.000Z2022-05-24T10:26:00.000Z2022-05-26T16:45:05.000Z

AndyC.64975 (Customer) asked a question.

Rules - sometimes not adding users to groups

This appears to be temperamental. I have rules set up which add people present in an AD group to an Okta group. Sometimes they do not add users - i've waited hours thinking they run on a schedule of some kinda. However, if I deactivate then reactivate the rule, its then adds the users to the group.

 

Said users are no in an exclude list and have profiles with all the necessary fields completed.


  • Hi @AndyC.64975 (Customer)​ , Thank you for reaching out to the Okta Community!

     

     

    The Group Rules don't work based on a schedule. They are evaluated based only on specific triggers:

    • rule activation/re-activation
    • user profile attribute update (if the rule leverages specific attributes as reference)
    • group membership change (if the rule leverages specific groups as reference) 
    • user lifecycle state change

     

    https://help.okta.com/en/prod/Content/Topics/users-groups-profiles/usgp-group-rules-best.htm

     

    Hope this helps!  

    Expand Post
  • AndyC.64975 (Customer)

    This is happening with multiple rules, even after recreation of the rules and groups. Sometimes they work, sometimes they don't until I deactivate/reactive. I don't think setting up a workflow to deactivate and reactivate all my rules is a good option. Any ideas?

    • Implementing a worflow is not required. In the words of Todd Howard - "it just works" * :D .

      *As long as you've confirmed that the proper actions are triggered.

       

      For example, we've got an old rule in place:

       

      IF user.nickname == "Kermit" THEN assign to Group "Muppets"

       

      Example (pre-existing) user: John Smith, nickname "Johnny"

       

      If you change his nickname from "Johnny" to "Kermit" , then (and only then) the rule will be evaluated and the user will be assigned to the appointed group.

      If the user was newly created and imported with the proper nickname, the moment he's pulled into Okta, the rule would be evaluated and the user should be added to the group.

       

      That being said, if you've tested and confirmed the actions and the user is still not being added to the proper groups, you'll have to open a case to have my colleagues properly investigate the root cause.

       

      Have a great rest of the day!

      Expand Post
This question is closed.
Loading
Rules - sometimes not adding users to groups