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 / Knowledge Share - a ch...
Power Automate
Unanswered

Knowledge Share - a child flow contains 'run-only user' connections.

(3) ShareShare
ReportReport
Posted on by 4

Hello everyone,

I have been working with child flows for about a week now and have been dealing with some disturbing behaviour around the "Run-only user" connection error not working as expected. I want to showcase the behaviour I've been seeing in hopes that others out there can recreate this problem Additionally, I've included my workarounds in hopes that it will help someone out there.

Action 'Run_a_Child_Flow' has defined a child flow that contains 'run-only user' connections.




Scenario 1: Publishing the parent flow while a child flow is set to "Run-only users" raises an expected error, however updating the child flow to "Use this connection" does not behave as expected.

How to Recreate Scenario 1:

  1. Have a flow called "Child flow".
    1. Trigger = "Manually trigger a flow".
    2. Connections Used is set to "Run using Connection...". 
    3. Located in a solution. 
    4. Has a connector "Respond to a power app" 
    5. Output params "bar" with value "bas"

  2. Have another flow called "Parent Flow"
    1. Has a "Run a child flow" which calls the formerly mentioned flow. 
  3. Publish the "Parent Flow" and receive the expected error regarding "Run-only-users". 
  4. Go to the "child flow" and set from "Run-only-users" to "Using connection of user..." . Optionally you can publish the flow.
  5. Go back to the "Parent Flow" and attempt to publish.
  6. Note that the error will persist, even after restarting the page. 
    Occasionally, publishing the parent flow will cause the child flow to re-set to run-only.

Scenario 1 Workaround:

  1. Ensure the child flow is set to "Run using connection of user..."
  2. Open the child flow, and change the output parameter from "bar" to "bar1", and output value from "bas" to "bas1". Publish the flow.
  3. Go to the Parent flow and refresh the page. Publish it and it will work. (Failure to refresh the page will often set the child flow back to read-only, or will require you to try steps 1-3 again).

Recreating Scenario 1 is very consistent on my end. I assume it has to do with some cached values, and that adjusting the output parameters forces it to re-validate the schema.

 

Scenario 2: Updating the input params of child flow causes it to reset to "Read-only-User" mode.

How to Recreate Scenario 2:

  1. Have a flow called "Child flow".
    1. Trigger = "Manually trigger a flow".
    2. Trigger params = "foo" (text, optional).
    3. Connections Used is set to "Run using Connection..." instead of "Run only Users". 
    4. Located in a solution. 
    5. Has a connector "Respond to a power app" 
    6. Output params "bar" with value "bas"
  2. Have another flow called "Parent Flow"
    1. Has a "Run a child flow" which calls the formerly mentioned flow. 
    2. Testing has shown that it can successfully run the child flow, and the return is expected
  3. Adjust child flow input parameter from "foo" to "foo1" and Publish. 

Observed unexpected behaviour of Scenario 2: The child flow reverts back to a run-only flow, and the parent flow cannot be published due to this behaviour. 

 

Temporary Workaround for Scenario 2:

  1. Adjust child input parameter "foo" to "foo1" to the child flow and Publish. 
  2. Go to the child flow and switch from "run-only user" to "Run on selected users plan". 
  3. Open the child flow and publish it. 
  4. Go to the parent flow if it is already open, restart the page. Publish it.

note that any deviation from this order will not work, and you will need to follow workaround in scenario 1.

For example, if you do not re-publish the child flow, it will not work. If you attempt to publish the parent flow before publishing the child flow, it will not work. This error cannot be re-created consistently. It is sometimes caused by deleting or adding input parameters, or changing the names of input parameters. 

 

This test was performed on Mozilla Firefox 137.0.2 (64-bit)

 

Categories:
I have the same question (5)
  • ronaldwalcott Profile Picture
    3,862 Moderator on at
    Thank you
  • Dawnf1re Profile Picture
    4 on at
    I have experienced this exact same issue on multiple occasions, including this morning.  I was finally able to publish the latest change, it just took a lot of time for the modified flow to realize the child flow had been updated.  I'm wondering if there might be a delay in "communication" between workflows when there are many flows in the same solution.
  • Neutrino Profile Picture
    19 on at
    Solution doesn't work if child flow uses connection references, which it should do if it's in a solution, and it has to be in a solution to run a child flow.
     
    Seems like you got lucky making it work rather than actually having a reliable and complete solution.
  • Neutrino Profile Picture
    19 on at
    I just had the exact same issue. I've actually suffered with this issue ever since I've had to use Power Automate. After 20 minutes of a parent flow refusing to accept that a child flow was not using a run-only user connection, adding an argument to the response and resaving fixed it immediately.
     
    There are so many long standing issues like this that make PA an absolute pain, and MS seems to be intent on laying off everyone who isn't working on AI, that at this stage I think I've concluded that PA will always totally suck.
  • eraseu2 Profile Picture
    15 on at
    I ran into this issue after adding an action that used a new connection reference to a Child Flow.  When I tried to publish the parent Flow it would give me the error message about the run-only user.  I fix the problem by doing the following:
    1. On the child Flow make sure all Connection References shown on the Flow details page are connected (shows a green check mark next to the name).
    2. Edit the Run-only user on the child Flow Details page and make sure all connections use specific connection (not using Provided by run-only user).
    3. Click the Edit button to edit the child Flow.  Once the child Flow loads, make any edit like adding a note to an action, then click Publish.
    4. Edit the Parent Flow, then click Publish.  You should not get a publishing error. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard