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 / Backing up Flows and C...
Power Automate
Unanswered

Backing up Flows and Create Flow action

(0) ShareShare
ReportReport
Posted on by 2

Hi All,

 

I currently have two flows: One is for backing up workflows, and the other is for restoring. Please see screenshot of my first flow below.

francis_darelle_0-1676360228750.png

 

The flow is being backed up by creating two files that has the following content: Flow Definition Summary (JSON file), and Connection Reference (txt file), which was obtained through the "List my flows" action. 

 

Screenshot of my second flow is below

francis_darelle_1-1676360596406.png

The two get file actions will get the two files created by the first flow. The content of the PARSE JSON is the output body of the previous action which refers to the file that has the "FlowConnection". 

 

The help I need is I need to know what values/fields I need to input to the "Create Flow" action. As I am having errors with the current setup I have. 

 

Error is:

The request content was invalid and could not be deserialized: 'Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Microsoft.WindowsAzure.ResourceStack.Common.Collections.InsensitiveDictionary`1[Microsoft.Azure.Flow.Templates.Schema.FlowTemplateTrigger]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path 'properties.definition.triggers', line 5, position 19.'.

 

 

Thank you!

Categories:
I have the same question (0)
  • ApiTrader Profile Picture
    174 on at

    hey, did you solve it? I am facing the same issue at the present, just related to the connectionReferences. I figured out that the connectionReference dont like neither an empty array nor an empty json. If the connectionReference is indeed empty. 

    On that function I receive the attached error: 

    if(equals(length(outputs('Get_Flow')?['body/properties/connectionReferences']),0),json('{}'),outputs('Get_Flow')?['body/properties/connectionReferences'])

    ApiTrader_0-1691429236152.png


    as workaround I worked with a condition, which is really weird... 

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 382

#2
Valantis Profile Picture

Valantis 370

#3
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

Last 30 days Overall leaderboard