cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kavya_sp
Microsoft
Microsoft

Create flow action failing when trying to create a copy of an existing flow flow

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!

 

kavya_sp_0-1664546668482.png

 

Image1-78.png

2 REPLIES 2
Jcomf1
New Member

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!

kavya_sp
Microsoft
Microsoft

@Jcomf1 ,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.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Top Kudoed Authors
Users online (3,240)