We have been using Power Platform build tools for automating the deployment process.
When the solutions has PowerApps, the deployment works fine, we were able to use the configuration json to assign environment variables.
But when the solution has Power Automate, all the connections inside the Power Automate get broken and we need to manually edit the flow after deployment and fix all the connections like SharePoint, Outlook etc.
Does anyone have a workaround for this? Or is this a limitation in Power Automate build tools/Solutions