Hi
Can anyone tell me what is wrong with this:
ClearCollect(colADUsers,(Filter(Office365Groups.ListGroups().value,StartsWith(Text(displayName), "DL"))));
I first made the filter (works fine): Filter(Office365Groups.ListGroups().value, StartsWith(Text(displayName), "DL"))
Then I tried to put it in a Collect/ClearCollect, but I can't get it to work.
I'm not sure if this is the right way to do it, but with the filter I find all the groups that the user belongs to, if the group starts with DL, then I want to make a collection of those groups and I would like to end up with that I'm able to get a list of all the users in the groups that start with DL, too which my user also belongs.
Regards.

Report
All responses (
Answers (