I have created a team in D365 which has around 30 users. May i know how to fetch those users from D365 team in canvas app combobox?
I am querying Teams dataverse table, but i undetrstand its not possible directly. We need to use team membership table, but i cant trace this table.
I even tried below piece of code but it doesnt work. May i know how to fetch the users from D365 in canvas app?
ComboBox Items
Filter(
Users,
"XXXX-XXXX-XXXX-XXXX" in ShowColumns(
LookUp(
Users,
'User Name' = Office365Users.MyProfileV2().userPrincipalName
).'Teams (teammembership_association)',
'Team'
)
)