Hello,
Thanks for taking the time to check this!
I am trying to create a copy of an existing flow using "Get flow" (Power Automate Management - Connectors | Microsoft Learn).
I am trying to then process flow definition and connection references and pass them to "Create flow" connector (https://learn.microsoft.com/en-us/connectors/flowmanagement/#create-flow) to create the flow.
I have been getting an error about authentication parameter -
Flow save failed with code 'WorkflowRunActionInputsInvalidProperty' and message 'The 'inputs' of workflow run action 'Update_item' of type 'OpenApiConnection' should not have the property 'authentication'.'.
Existing flow has few SharePoint and teams connectors that have "authentication" parameter built in the connectors and I can't edit/modify it. I can see the parameter using "Peek code" property.
Any help/suggestion is very much appreciated, Thanks in advance!
Hi RamMaddela, you're right. The create flow action fails if some triggers in the master flow were used. I failed today on restoring a flow backup with Forms trigger: when a new response is submitted. (Property with the same name already exists on object).
Thanks for your response, Kavya.
Hey Stej, thanks for taking time to reply. That approach is working for a flow with a manual trigger but when I tried to restore a flow which has other a different trigger (e.g.MS Form, SP and so on) it's not working. I'm getting an error "Authentication" property cannot exist.
Here is a workaround that worked for me:
https://blog.atwork.at/post/backup-and-restore-a-flow-with-another-flow
@RamMaddela , the schema of the action body changed, and we couldn't use this approach. The schema needs to be static for this to work. Unfortunately, I don't have code reference to share.
Hello @kavya_sp , Did you resolve the issue using remove Property() ? If Yes, Can you please share the code for reference.
I'm currently facing the same issue and your response will be greatly help.
@Anonymous ,I brought this up in a meeting,they suggested me to use removeProperty() to remove authentication property from definition JSON and pass the processed JSON definition to create flow.It's a of processing,as the flow definition could change anytime, and flow has a lot of connectors with different body to parse.
I am also facing this exact error in trying to create a copy of a Flow that has the 'Get File Properties' action. I've tried all the suggested work arounds but no luck in solving just yet 😞
If anyone does find a solution, I'd love to hear it!
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492