Good Afternoon
I'm building a flow to manage Onboarding and as part of it, I want to add the new staff member to a Team. Because sometimes we relocate people internationally, it can happen that the staff member is already part of the Team so I need to implement an error catch.
First learning, the Teams connection List members doesn't really list the members of a team. I can only see the option for a group chat (could be useful for meetings?) and it should work on a channel but that gives me the error that I don't have sufficient clout. I'm the owner so possibly our company restricts that.
But when I try to get the members of the Office 365 group, I get this error:
InvalidTemplate. Unable to process template language expressions in action 'List_group_members' inputs at line '0' and column '0': 'The template language expression 'json(decodeBase64(secrets('X-MS-APIM-Tokens')))['$connections']['shared_office365groups']['connectionId']' cannot be evaluated because property 'shared_office365groups' doesn't exist, available properties are 'shared_sharepointonline, shared_office365, shared_outlooktasks, shared_teams'. Please see https://aka.ms/logicexpressions for usage details.'.
I don't input that property and I pick the Team from a list.
What is going wrong? I can't really see how I can change anything to sort this out?
Thanks,
Christine