
DanN.36988 (Customer) asked a question.
We need to pass active directory group membership through SAML assertion. We want to create a dynamic rule in IBM Cloud that added users to access groups through Okta/Active Directory groups. Do I use group attribute statements? What do I enter in for value?
Thanks,

Hi Dan,
I'm no expert, but I think it might depend on how the app is setup. I've done it in attribute statements and profile editor. I think your case might be the Attribute Statements section.
If you're syncing your AD groups into OKTA, then I would reference the following document:
https://developer.okta.com/reference/okta_expression_language/#group-functions
For example, if I'm in an AD group named "Test123" and it's synced into OKTA, in the group attributes statement I can do... isMemberOfGroupName("Test123")?"<name_of_IBM_group>":<name_of_other_IBM_group>.
My example might not fit your needs, but it's an example for a one or the other case.
I always use Profile Editor to preview my custom expressions to confirm the output is what I'd like.
I'm sure someone with more experience will provide clearer input.
Something in the way I typed the expression thought it was HTML and cut out details after the "then" expression
Hi Van Huynh, I just want to say that your reply was exactly what I was looking for and I could not find any reference to this anywhere but your reply. Thank you!!