web
Youโ€™re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 285vF4i5kaeh8790NOEEmZ
Power Automate - Building Flows
Answered

Child flow won't activate when importing solution to production environment

Like (0) ShareShare
ReportReport
Posted on 29 Jan 2024 08:40:25 by 183

Hello ๐Ÿ™‚


I am facing a blocking issue when importing a solution to my production environment.

All connections to datasources are managed with environment variables, like any of our other solutions.


The solution is built around a PowerApps App which works with 3 PowerAutomate flows. Data is stored in SharePoint (List).

I have a flow which is auto-triggered with item creation in one of the SP List. This flow activate and works as expected.

 

I then have two flows : one is an instant flow triggered from the app and a child flow of this parent flow. This child flow won't activate when I import the solution to production, and the error message is not helping at all.

 

The message when I try to activate the flow :

Flow server error returned with status code "InternalServerError" and details "{"error":{"code":"AzureResourceManagerServerError","message":"Azure Resource Manager a rencontrรฉ une erreur interne du serveur. Lโ€™ID de suivi est ยซ 152fe72f-xxxxxx ยป."}}".

 

If I try to edit "execution only user" to set the service account to be used for SharePoint connection, I get this error :

ร‰chec de la demande ร  lโ€™API XRM avec lโ€™erreur de serveur : ยซ Message: Flow server error returned with status code "InternalServerError" and details "{"error":{"code":"AzureResourceManagerServerError","message":"Azure Resource Manager a rencontrรฉ une erreur interne du serveur. Lโ€™ID de suivi est ยซ d29158c7-xxxxxx ยป."}}". Code: 0x80097376 InnerError:  ยป. Lโ€™ID de suivi est ยซ 08edb1ea-xxxxxx ยป.

 

And, if I open the flow with the new editor (and only the new editor, not showing with the old one), I have an error message on one of the step that is creating an item in the SharePoint List :
{"Code":"NotFound","Message":"Cannot find connection with name 7da140ae-xxxxx .","Target":null,"Details":[{"Message":"Cannot find connection with name 7da140ae-xxxxx ."},{"Code":"NotFound"},{"ErrorEntity":{"ExtendedCode":"14003","MessageTemplate":"Cannot find connection with name {0}.","Parameters":["7da140ae-xxxxx"]
"Code":"NotFound","Message":"Cannot find connection with name 7da140ae-xxxxx ."}}],"Innererror":null} ยป. ยป

 

This step is only creating a new item in a SharePoint List, with different fields. The connection reference and environment variables are used. It is working correctly in dev environment.

 

If I try to edit and save the flow in production (to create an unmanaged layer), I have the second error message above...

 

At this point, I'm totally stuck. Any idea?

 

I have the same question (0)
  • Verified answer
    Jedediah Profile Picture
    183 on 31 Jan 2024 at 10:34:54
    Re: Child flow won't activate when importing solution to production environment

    So... I managed to fix this issue by rebuilding the child flow from scratch.

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

Responsible AI policies

As AI tools become more common, weโ€™re introducing a Responsible AI Useโ€ฆ

Chiara Carbone โ€“ Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for Novemberโ€ฆ

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard