I am trying to restrict view of a button based on groups.
I have 6 buttons, 4 of those i want only managers to be able to see
I'm adding the below on the on viability of the button (group ID i have taken from Azure AD object ID, I have added the Office365Groups connection.
VarUserEmail in Concat(Office365Groups.ListGroupMembers("GROUP ID").value, Mail)
That button does disappear for me as i am not a member of this group, There is no error on the screen but if i try with a group i am in it also does not show.
I am wondering if there is only certain types of groups this works with, like distribution groups clearly i am missing a step here but i am not sure what, Any ideas?