cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
lreinhard7
Level 8

PowerApp - Dynamics 365 JSON Error message

Hi, 

 

In a flow I just tried retrieving some customer data by entering a very simple get records action that worked all the time.

Unfortunately, this time it does not work anymore as I permanently receive the following error. 

'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_dynamicsax']['connectionId']' cannot be evaluated because property 'shared_dynamicsax' doesn't exist, available properties are ''. 

Has somebody seen a similar error message?

 

What I find very interesting is that everything works fine if I manually start and test the flow. If I start it through the PowerApp, I receive the error, which does not make sense to me. 

 

Would be great if somebody can help. 

 

Many thanks and best regards, 

 

Ludwig

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
lreinhard7
Level 8

Re: PowerApp - Dynamics 365 JSON Error message

Hi,

I finally got that fixed.

The trick is that the connection between powerapps and flow should only be made at the very end.

That is, one should not make changes to the flow after e.g. a powerapps button that triggers this flow has been established.

After recreating the flow everything works like a charm.

Yet, I find it a bit difficult that I had to rebuild my flow multiple times until I noticed how this works.

But now, everything is fine Man Happy

Many thanks for the feedback and best regards,

Ludwig

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: PowerApp - Dynamics 365 JSON Error message

Hi @lreinhard7,

 

Would you please share the detailed configuration of the flow and app? Some screenshots would be even better.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
lreinhard7
Level 8

Re: PowerApp - Dynamics 365 JSON Error message

Hi,

I finally got that fixed.

The trick is that the connection between powerapps and flow should only be made at the very end.

That is, one should not make changes to the flow after e.g. a powerapps button that triggers this flow has been established.

After recreating the flow everything works like a charm.

Yet, I find it a bit difficult that I had to rebuild my flow multiple times until I noticed how this works.

But now, everything is fine Man Happy

Many thanks for the feedback and best regards,

Ludwig

View solution in original post

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,607)