web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error on List group me...
Power Automate
Unanswered

Error on List group members connector

(0) ShareShare
ReportReport
Posted on by 296

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

Categories:
I have the same question (0)
  • Amapola188 Profile Picture
    296 on at

    Additional info:

     

    Peek code:

    {
        "inputs": {
            "host": {
                "connection": {
                    "name""@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_office365groups']['connectionId']"
                }
            },
            "method""get",
            "path""/v1.0/groups/@{encodeURIComponent('cxxx')}/members",
            "authentication": {
                "type""Raw",
                "value""@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"
            }
        }
    }
     
    The property actually comes from the trigger. Still not something I can change but really odd.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard