Hi @v-bofeng-msft ,
Thanks for your reply.
Regarding Office365.ListOwnedGroups, unless mistaken this only gets the groups that the user is the owner of. I need to list the groups the owner is a member of. I see there is the option GroupesOffice365.ListGroupMembers, but as I have 20+ teams and this amount can grow I will need to find a way to check them all dynamically. I have a table with all the AD Group GUIDs, I tried putting them all in
a collection then using forall to get the group members but there is an error message saying the O365Groups cannot be used with ForAll.
Regarding the Azure AD connector, to use it requires authorisation from an administrator and the account being used in the connector needs AD admin permissions so I think this is out of the question for us.
As my AAD groups are linked to Teams in the environment I was hoping there was a way to list all of the teams a user is the member of.
Thanks