Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

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

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

  • Stej Profile Picture
    22 on at
    Re: Create flow action failing when trying to create a copy of an existing flow flow

    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).

  • RamMaddela Profile Picture
    on at
    Re: Create flow action failing when trying to create a copy of an existing flow flow

    Thanks for your response, Kavya.

  • RamMaddela Profile Picture
    on at
    Re: Create flow action failing when trying to create a copy of an existing flow flow

    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.

  • Stej Profile Picture
    22 on at
    Re: Create flow action failing when trying to create a copy of an existing flow flow

    Here is a workaround that worked for me:

    https://blog.atwork.at/post/backup-and-restore-a-flow-with-another-flow

     

  • kavya_sp Profile Picture
    Microsoft Employee on at
    Re: Create flow action failing when trying to create a copy of an existing flow 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.

  • RamMaddela Profile Picture
    on at
    Re: Create flow action failing when trying to create a copy of an existing flow flow

    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.

  • kavya_sp Profile Picture
    Microsoft Employee on at
    Re: Create flow action failing when trying to create a copy of an existing flow flow

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

  • Community Power Platform Member Profile Picture
    on at
    Re: Create flow action failing when trying to create a copy of an existing flow flow

    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!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics