I want to display the members of a mail-enabled security group in a gallery.
In Flow if I use a "List group members" action with the ID of my my mail-enabled security group, the correct info is returned.
However if I use that same ID in the function:
Office365Groups.ListGroupMembers('mygroupID')I get "Name isn't valid. The identifier isn't recognized"
I have added Office 365 connector to connections and to data sources
If I set the gallery to:
Office365Groups.ListOwnedGroups().value
it shows me (some of) my Office 365 groups, but not mail-enabled security groups.
However, I have tried
Office365Groups.ListGroupMembers('mygroupID')using an Office 365 Group - but same error.
And when I try the below same issue, even when I use the group ID of one of the groups that shows up in the "ListOwnedGroups" function above.
Filter(Office365Groups.ListOwnedGroups().value, id='MyGroupdID')
I am getting the group ID from Azure Active Directory.
Thanks for your help