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

Flow cannot use a Child Flow because they are in different Subscription despite being in same Solution

When I'm saving a Flow which needs to call a child-flow, I'm getting an error to indicate that this flow is in a different subscription. The error message suggests that I need to move the subscription, however, there is no way to do that within Power Automate.


I'm trying to understand why when:

  • Both this flow and the child-flow it's calling are in the same Power Platform environment
  • They are both within the same Solution
  • Other flows are able to successfully call this same sub-flow


Error message

Request to XRM API failed with error: 'Message: Flow client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'WorkflowUnderWrongSubscription' and message 'The child workflow '{workflowIdWasHere}' must be under the same subscription as the parent workflow.


The only thing that I can think of which is different about this flow is that it was created by me doing a SAVE AS on another one in the same solution. Could that be the problem?


There are 60-70 actions in the flow and would rather not need to have to start again.  I've resolved a few issues that way recently, but would like to avoid that.


How do I change the subscription of a flow? Any other ideas? Or is there an issue with Power Automate here?



Super User II
Super User II

Hi @mattybear 


Have you tried the export/import the Power Automate to the correct subscription?


If this is solved already please share the solution so that we can all learn from you :).


If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


Advocate II
Advocate II

@mattybear, did you ever find a solution for this?


Both of our solutions were created in the same environment, but Flow still gives the error.

Advocate I
Advocate I

We are facing same issue and dont want to recreate flow.

Please share if you have any solutions or workarounds.


New Member

I have faced this error and solved. 

I failed to save the flow with new component (run child flow). But when I exported and imported back the flow. And added back to the solution. It saved successfully with the new run child flow component.

My parent Flow was created before the Solution, and then imported in.  The fix for me was to recreate the parent flow in the solution, then it worked fine.  

I appreciate this can be a lot of work but you can bundle up a lot of steps into a number of Scope objects, and then save them to the clipboard to copy across which speeds things up considerably

@AndyTuke1 , Thanks for your suggestion of recreating flow in solution.


It helped me solve issue with my case by doing exact opposite, creating the common flow outside of the solution instead of recreating working flows again.


My issue was that most of my flows (around 15) were created before adding them to the solution so recreating them would take long time. Instead to resolve this issue, I created a flow with common logic outside of solution (where other flows were created initially) and added it to solution. Now I am able to save and work with the flow properly.


This can help someone with similar kind of issue. If you have requirement of creating more new flows which uses the same common flow you can have a new flow (v2) with similar actions which is created in the solution it self. So new flows will use this v2 flow and old ones can continue with v1. This can be headache but can reduce the overhead required for recreating all existing flows.

Regular Visitor

WorkflowUnderWrongSubscription also occurs when you create a Flow here:



and import it to your solution and use there a child flow.

Hi, I'm also facing the same issue. I have created flow outside of the solution, directly under flows. Later added this flow to the solution and added an action to call child flow. On save, it is throwing the following error, "Flow save failed with code 'WorkflowUnderWrongSubscription' and message The child workflow must be under the same subscription as the parent workflow. ". 

I exported the flow solution and imported again. but still no luck. Can you please help me in understanding how did you export and reimport the flow, via CRM solution?

One work around is from @AndyTuke1  above.

Another is from @fireflyingin THIS  somewhat similar thread.  His entry is at ‎07-14-2020 06:56 AM.

Memorable Member
Memorable Member

Hi there, 
My finding about this : 
- If Child (OR Parent) is created outside a solution then added to a solution, then its Parent (OR Child) must be also created outside of a solution then added to a solution to make it work. 


- If both are created outside then added to a solution, works fine

- If both are created within a solution, works fine.

- If they one of them come from the default solution (created outside of a solution), then problem.




Helpful resources

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (52,707)