cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dtraynham
Level: Powered On

Unable to process template language expressions in action 'Add_member_to_group'

I am trying to set up a flow that will add a user to a group from an HTTP request trigger.  I am able to post to the HTTP request, but add the output of the HTTP request to the Add member to group action I get the following error.  any ideas? 

 

Unable to process template language expressions in action 'Add_member_to_group' inputs at line '1' and column '1598': 'The template language expression 'triggerBody()?['email']' cannot be evaluated because property 'email' cannot be selected. Property selection is not supported on values of type 'String'. Please see https://aka.ms/logicexpressions for usage details.'.

 

Here is my JSON Schema for the HTTP Request:

{
    "$id": "http://example.com/example.json",
    "type": "object",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
        "email": {
            "$id": "/properties/email",
            "type": "string",
            "title": "The Email Schema ",
            "default": "",
            "examples": [
                "<youraddressgoeshere>"
            ]
        }
    }
}

And here is the format of the message that is getting posted to the HTTP Request:

{
  "email":"email.address@somecompany.com"
}

(obviously that is not a real email address)

1 ACCEPTED SOLUTION

Accepted Solutions
Dtraynham
Level: Powered On

Re: Unable to process template language expressions in action 'Add_member_to_group'

Identified the issue.  It was not with Flow but with the format of the message that was being sent to Flow.  Once I fixed the typo it worked like a champ!

View solution in original post

2 REPLIES 2
Dtraynham
Level: Powered On

Re: Unable to process template language expressions in action 'Add_member_to_group'

Identified the issue.  It was not with Flow but with the format of the message that was being sent to Flow.  Once I fixed the typo it worked like a champ!

View solution in original post

avpk729
Level: Powered On

Re: Unable to process template language expressions in action 'Add_member_to_group'

Soory, could you please elaborate on the typo/ the wrong format? I'm having the same issue and i'm unable to identify where the error is.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,992)