Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Power Automate how to use action parameters with @ in name

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey Community,

At the moment I try to implement a Flow, which should trigger the Dataverse Function "CalculateRollupField" via a custom connector. (see blog article: https://www.powerappsguy.com/blog/Use-Power-Automate-Flows-to-Calculate-Rollup-Fields/).

 

API Call: https://[YOUR_ORG].crm4.dynamics.com/api/data/v9.1/CalculateRollupField(Target=@target,FieldName=@fieldname)?@target={'@odata.id':'[your_entity]([your_recordid])'}&@fieldname='[your_fieldname]' 

 

When I try to use the custom connector in Flow I retrieve the following error:

Request to XRM API failed with error: 'Message: Flow client error returned with status code "BadRequest" and details "{"error":{"code":"TemplateValidationError","message":"Die Flowvorlage für die Logik-App des Flows war ungültig. Unable to parse template language expression 'target': expected token 'LeftParenthesis' and actual 'EndOfData'."}}". Code: 0x80060467 InnerError: '.

 

For me it seems the "@" in the action parameter names is the reason for the error, because its a reserved in the flow expression syntax.

 

Screenshot 2021-01-20 173619.png

 

Is there any way to use Actions with such a naming, because Dataverse web api requires such a query string pattern?

  • Community Power Platform Member Profile Picture
    on at
    Re: Power Automate how to use action parameters with @ in name

    The API call works for me. Just make sure that you omit the brackets.

    Correct: accounts(00000000-0000-0000-0000-000000000000)

    Incorrect: [accounts]([00000000-0000-0000-0000-000000000000])

  • GunnarGantzel Profile Picture
    2 on at
    Re: Power Automate how to use action parameters with @ in name

    I'm facing the same issue... 

  • Community Power Platform Member Profile Picture
    on at
    Re: Power Automate how to use action parameters with @ in name

    Hi @Christoph ,

    I'm facing the same issue... Did you find some solution?


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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492