cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CABIRD
Post Patron
Post Patron

PowerApps Attachments

Following Paul Culmsee excellent video building the Flow proceeds well until SharePoint Create file. Error message reads as follows.

 

ActionFailed. An action failed. No dependent actions succeeded.

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

 

AppAttact.png

 

Given the previous steps appear OK it seems unfortunate to fail at this point. I did create a new SPO document library for this.

 

Any thoughts as to how to resolve this?

 

P.S. I acknowledge Paul's remark this is an unorthodox approach nevertheless this clearly worked for Paul so I cannot see why it won't function for me. Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @CABIRD 

 

There is a very silly error behind this. I believe you added the flow to the powerapps before adding the sharepoint actions. (Correct me if I am wrong). 

 

Now, all you have to do is, go back to powerapps, and on the control that you have added this flow, copy the expression and then delete the flow. Now re add the flow and then put the expression back there. 

 

Try to run it and it should work (do not attempt running from any previous runs else it will give the same error)

 

BTW, there is a newly released JSON function in powerapps that makes moving files much easier. You can try this too: 

https://www.appliedis.com/newly-released-json-function-for-powerapps/

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hi @CABIRD 

 

There is a very silly error behind this. I believe you added the flow to the powerapps before adding the sharepoint actions. (Correct me if I am wrong). 

 

Now, all you have to do is, go back to powerapps, and on the control that you have added this flow, copy the expression and then delete the flow. Now re add the flow and then put the expression back there. 

 

Try to run it and it should work (do not attempt running from any previous runs else it will give the same error)

 

BTW, there is a newly released JSON function in powerapps that makes moving files much easier. You can try this too: 

https://www.appliedis.com/newly-released-json-function-for-powerapps/

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Hello @yashag2255 

 

BRILLIANT.

 

I really appreciate you taking the time to reply and thank you so much.

 

I had completely forgotten if you edit you need to remove the Flow and add it back. 

 

Stupid mistake. 

 

Regards

Christopher

 

 

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (23,862)