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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard