Hello folks,
I have had this daunting problem for a while now with a client. I have an unmanaged package in my own tenant where the development happens (Power Apps, Flows, Dataverse tables, custom security role) and when the client's solution requires an update, I'm pushing a managed package (zip-file) to their tenant using the "Upgrade" -option when importing the package. Just as a point, this target environment is located in another tenant and they are using the "(default)" -environment. I don't know if that helps.
Lately, after updating the app successfully, some of the workflows are turned off. When trying to turn these Flows on from the solution, I'm getting the following error which says I'm missing some connection references even though I'm not. All the flows in the target environment are using the connection references listed in the solution.
When I open the turned off -Flow in the target environment, I see that there are 2 invalid SharePoint connections:
In my source org, the connection is correctly configured to use the connection reference in the solution as seen below:
After I "fix" the connection in the target environment, save the flow and turn it back on, it creates an unmanaged layer in the component.
Some have suggested removing this unmanaged layer and that's what we have done, but that turns off the Flow and the connection issue is there again. There is no way I could turn on the Flow without creating an unmanaged layer.
Stuck with this. Any help from the community experts?
Thanks,
Ville
Hi @VilPel ,
I did a test but I did not encounter your problem.
I guess there is a problem with the sharepoint connection in your target tenant. Could you try to create a new connection to test it again?
In addition, you could try to export the unmanaged solution (not managed solution) from the souce tenant to the target tenant.
Then you could modify your flow to fix it an turn it on.
At this point you could export the unmanaged solution in the target tenant .(Export as managed solution)
Please don't forget to delete the components in the target environment.
Then you could import the managed solution to the target tenant again.
Best Regards,
Wearsky
Michael E. Gernaey
11
Super User 2025 Season 1
stampcoin
9
bscarlavai33
5
Super User 2025 Season 1