web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create flow action fai...
Power Automate
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

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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 Profile Picture
    Microsoft Employee on at

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

  • RamMaddela Profile Picture
    on at

    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

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

  • Stej Profile Picture
    22 on at

    Here is a workaround that worked for me:

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

     

  • RamMaddela Profile Picture
    on at

    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.

  • RamMaddela Profile Picture
    on at

    Thanks for your response, Kavya.

  • Stej Profile Picture
    22 on at

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

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 378

#2
Valantis Profile Picture

Valantis 329

#3
David_MA Profile Picture

David_MA 283 Super User 2026 Season 1

Last 30 days Overall leaderboard