Showing results for 
Search instead for 
Did you mean: 
Kudo Kingpin
Kudo Kingpin

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
Community Support



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.

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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,872)