group rule for an app Skip to main content
https://support.okta.com/help/answers?id=9062a000000bmvcqay&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Vikram GoghariVikram Goghari 

group rule for an app

Hi,

Any group rule I can write such as:

if app=appName then add user to group X

Basically, I want to automatically add a user to a certain group when created/assigned a given application?
Gabriel SrokaGabriel Sroka (Okta, Inc.)
Hi Vikram
The group rule doesn't support this, but you can do it the other way around:
IF user.attribute = X THEN Assign to Group X
and then assign Group X to the App.

You could also use the API to scan app assignments and add them to groups.