Hello,
I'm developing an app, in which the user the ability to choose a MS user from a combobox, and with a button press, all the Azure AD group names would appear in an another combobox. But currently I have a hard time of transferring the table of group IDs into a table of group names. Using ForAll, I have tried to concatenate the table into a string with semicolons separating the IDs (and then transferring this string into a table using split()) but this hasn't worked. I have also tried,
ForAll(UserAzureADGroups,Substitute(UserAzureADGroups,Value,AzureAD.GetGroup(Value).displayName)); (this returns 'An error has occured' during running the app). I have also tried appending the group names into an another table using ForAll(), but haven't figured out how to do that.
I am using AzureAD.GetMemberGroupsV2(), which returns a table group IDs that the chosen user is a part of. Is there a possibility to transfer these values into group names already at this step? My syntax looks like 'AzureAD.GetMemberGroupsV2(UserID,false).value'
If anyone has any suggestions how to implement this kind of app, I would more than thankful.