Hi There,
We are using three cloud flows. (using dataverse and approval connector). When using the Power Platform Import Solution component in Azure DevOps the solution is imported correctly, only the cloud flows are disabled (before the import they were enabled). The following options are activated: Import Solution as asynchronous operation, Import as a holding solution, Overwrite unmanaged customizations, Activate processes (workflows) after import, Import as a managed solution. When the deployment is run the flows are disabled. Manually I select the flows and turn them on. Everything is running fine, no changes have to be made.
When the import of the same solution (increased version number) is done manually and selecting the enable plugin steps and flows included in the solution and chosen upgrade as solution action the import succeeds again and now flows are still enabled. The bug is reported before and marked as solved. I don't believe it is solved. Can this be investigated or is there a workaround?
Thanks in advanced for you help, time and effort.
Regards,
Stefan Verheggen
Any news regarding this issue? we struggle with the same problems (deactivated flows after solution import).
Regards,
Adrian
Hi Adrian,
The problem is that a connection in the environment is user owned. The connection can't be assigned to an application user (I don't know how). As I understand Microsoft is working on that. I also have a non-expiring user that doesn't need to use MFA. For now how did I solve the problem.
This worked for me. Another solution is when not using the settings file is import the solution and afterwards open the connection references with the non-expiring user and assign the connections (basically what happens under the hood with the settings file). Only caveat is that when somebody doesn't know the procedure and goes in the flow and edit a new connection reference and connection can be created.
I don't if it is possible to update the connection reference with the app user when knowing the connection id from the url and import the solution with the app user.
Hopefully this helps you out.
Regards,
Stefan
thank you for the detailed answer @StefanVerheggen
This is a possible solution. But it is much too complicated for me. It contradicts the deployment idea if you first have to go into the target environments, create the connections there and take over the ID before a deployment works correctly. I prefer to wait for Microsoft, in the hope that they will soon present a viable solution to this issue.
Regards,
Aedu
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
If you are a small business ISV/Reseller, share your thoughts with our research team.