Remove connections so connection reference can be added

HK SharePoint Admin
2 min readMay 29, 2022

When you need to package your Power Automate flow into solution, it is always recommended to replace all your “Connection” with “Connection Reference”. By using Connection Reference you are able to change the connection from outside of flow, by using environment variables. You don’t need to edit the flow and modify each connection 1 by 1.

If you move an existing cloud flow into a solution, and then edit the flow, you will see the warning as above figure. Under “How to fix it” there is a link “Remove connections so connection reference can be added”.

When I first time see it I thought it is a help tip link to some Microsoft website. But actually it is a button to REMOVE all connections in the flow. So please be very careful before click on it.

After you click the button, all existing connections will be reset. You will not be able to save the flow because all the connections become invalid. Like the figure below:

You need to go over each warning and select the connection reference:

After replace all the Connection with Connection references. You’re able to save the flow.

--

--