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?


Report
All responses (
Answers (