Showing results for 
Search instead for 
Did you mean: 
Not applicable

PO Approval flow

I am working on Purchase Order Approval using PowerApp. I am getting error on the "Start and wait for an approval" step.

Here is the error description: 

'Unable to process template language expressions in action 'Start_and_wait_for_an_approval' inputs at line '1' and column '2766': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_approvals']['connectionId']' cannot be evaluated because property 'shared_approvals' doesn't exist, available properties are 'shared_sendmail'. Please see for usage details.'


Please guide me where i am doing wrong.

See the attachments.


Dual Super User II
Dual Super User II

Hi @Anonymous 


Re-trigger the flow from the Power App.

If you make changes to the flow and manually run it - it will complain about the connections.


If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Reza Dorrani, MVP

Helpful resources

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (74,462)