<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
0D51Y00007w5z9BSAQOkta Classic EngineUniversal DirectoryAnswered2026-01-22T09:00:25.000Z2020-02-27T18:52:11.000Z2020-02-28T17:35:59.000Z

pp9nz (pp9nz) asked a question.

Group membership rule based on MFA enrollment

Is there a way to create a group rule that adds members based on whether or not they are MFA enrolled? Or perhaps enrolled with specific factors? Like if the user is using Google Authenticator, join Group A. Or if the user is using Okta Verify with Push, join Group B. Is this possible?


  • JessicaW.72146 (Customer)

    Hey Jesse,

     

    Good question - I am not sure on the group rule part, however if Okta comes back and says you can't do this with a simple group rule, you can always have a custom script running to utilize the APIs for this. For example, you could use the Factors API to check what (if any) MFA factors a use has enrolled in and then use the Groups API to add/remove them to groups based off that. Definitely not as simple and requires a bit of work on your side, but a viable option!

     

    Supporting documentation:

    https://developer.okta.com/docs/reference/api/factors/

    https://developer.okta.com/docs/reference/api/groups/

    Expand Post
This question is closed.
Loading
Group membership rule based on MFA enrollment