I'm inspecting group membership to control view/edit access to parts of my App using the Office365Groups connector.
I'm using the following instruction to check if a user is a Telecom Manager:
Set(gTelecomManager,!IsEmpty(Filter(Office365Groups.ListGroupMembers(gTelecomManagersGroup).value,mail=User().Email)));
This works fine if the group contains individual users, but when I add another security group to the TelecomManagers Group instead of using individual members, the instruction returns false, even if the user is part of (one of) the member group(s) of the Telecom Managers group. I could go recursively through the group(s) and check deeper and deeper until I get to the individual user level, but this will quickly get wieldy and probably slow. What would be the recommended way to make this work ?
Stephane