Showing results for 
Search instead for 
Did you mean: 

cdm ask in powerapps flow adding record in CDM

I have a flow that adds a records in cdm when asked in powerapp. when another user clicks on askinpowerapp button in powerapps I get below error


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

Community Support Team
Community Support Team

Re: cdm ask in powerapps flow adding record in CDM



You said that "another user", did it work for the current user?




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.

Re: cdm ask in powerapps flow adding record in CDM

yes, with the user(p2 plan admin user) who created this flow it works but any p1 user when he clicks on same button in powerapp the flow is not kicking off. Askin powerapp there is a bug where it only kicks off flow created by same user which makes it unusable when multiple users are using same powerapp. Please fix this as we are dependant on this functionality for production app which I will have to hold off until this is fixed.


try this-

create simple askinpowerapp flow and try to send an email to hardcoded user.

In powerapp try to kick the workflow and login with same user(it will work)

Now add p1 user with read perm and ask him to click on same button(workflow does not kick off)

Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

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


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 436 members 5,524 guests
Please welcome our newest community members: