Hi All
I am building a canvas app where I need to show user different content depending on which dynamic group user is in.
So the question is - how to find what dynamic group user is in.
I have tried Office365Groups.ListOwnedGroups().value and Office365Groups.ListOwnedGroupsV2().value and Office365Groups.ListOwnedGroupsV3().value but it doesnt show dynamic groups
Thanks
Hi @romankorchak1 ,
I'm not familiar with dynamic groups, but you may try the Azure AD connector with the get groups of a user action to retrieve all the groups that the user is a member of:
https://docs.microsoft.com/en-us/connectors/azuread/#get-groups-of-a-user-(v2)
OnVisible of the Screen:
Set(varGroup,AzureAD.GetMemberGroups(User().Email,true).Value)
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.