Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

"Create flow" action resulting in an error

I'd like to provision power platform archiving based on the CoE solution. I was able to export a given power app or flow, I can import a power app back, but when I want to import the flow, I end up with errors. The automatic export saves two files in a SP library - definition.json and connectionreferences.json. If using the "Create flow" action I try to create a new one based on the files, I can only succeed if the connections are for the same user and environment (which does not make sense since the archiving solution is organisation-wide). So I wanted to bypass the connectionreferences, but when I only give the definition.json content, I get the error below:


Flow save failed with code 'WorkflowRunActionInputsInvalidProperty' and message 'The 'inputs' of workflow run action 'Get_Flow' of type 'OpenApiConnection' should not have the property 'authentication'.'.


I thought that might be caused by some kind of data type issue or whatever, so I tried to simply make a copy of an existing flow by fetching its details using the "Get Flow" action and passing its data to the "Create Flow" action - but that results in an identical error. Am I doing something wrong here or is this caused by a recent update in the "Create Flow" action?

Community Champion
Community Champion

Ensure that you have all of the proper credentials in use for each of the steps within the imported flow under the My Connections area:


If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE. Want to know more? Follow @BradGroux on Twitter, and check out my Medium blog at

Frequent Visitor

Hi @Brad_Groux,

the connections are set correctly, the error details are in the original post, but as requested, I am putting the screenshots here.

The whole flow is very simple, I just get the details of an existing flow from one environment and then want to create a copy in another environment.



 And this is the response I get with from the Create Flow action.



If I put anything in the connectionReferences field, I get a different error. Our goal is to create the flow from a definition.json file uploaded to a SP library, but it doesn't work either, so tried with a more simple approach first.

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,312)