If you have old Power Automate flows with fixed connections and want to replace them with environment variables, there is a fast way to do it. Instead of manually updating each flow, you can batch replace the fixed connections directly in the flow code. First, create a new flow where you list all the environment variables. Copy the action code and paste it into a code editor. Then, copy the flow you want to replace the connections in and paste it into the code editor. Replace all fixed URLs and list IDs with the environment variables. Finally, copy the adjusted flow definition back into the flow. This process allows you to easily replace fixed connections with environment variables and make your flows part of a solution.
Login now to access my digest by 365.Training