
hz9vh (hz9vh) asked a question.
Unable to retrieve all AD groups as part of the claims.
I am using the expression details in this link.
We are not getting any AD groups with the below expression.
Arrays.flatten(Groups.startsWith("active_directory","",50))

Hi Venkata,
I've escalated your question to our Customer Support team. They will respond to you shortly here.
Thanks!
Tim
Okta, Inc.
I noticed that document doesn't seem to render well in all browsers, and so the full expression isn't clearly shown. Were you able to see the full expression as shown below:
Arrays.isEmpty(Arrays.toCsvString(Groups.startsWith("active_directory","",50))) ? Groups.startsWith("OKTA","",50) : Arrays.flatten(Groups.startsWith("OKTA","",50),Groups.startsWith("active_directory","",50))