Is there a PowerApps command (via PowerApps for administrators or PowerAutomate for Administrators) to export a PowerAutomate Flow to a Zip File ?
As far as I know this cannot be achieved through a connector.
However, I can think of other ways to programmatically export flows:
Would this help? Could you please share some more information on what you want to achieve?
Hey @NigelP ,
Please check this to get some inputs on your ask ::
I do not not believe in the Default environment. I believe it is inherently insecure. The organisation I work have also taken this stance. So we are in the process of moving all of the development of flows to a DEV tenancy. When the flows have been developed and tested, they are moved back to the production Tenancy into a nominated environment where the appropriate DLPs etc can be enforced. So I need a PowerApp / Flow / PowerShell to do the moving of the flows (and their connectors) between Tenancies.
Thanks for sharing the background of your question.
In this case my approach would be definitely to use solutions. You can create flows inside a solution in your dev environment, or add existing flows into a solution: https://docs.microsoft.com/en-us/power-automate/overview-solution-flows
Using solutions you can easily move Flows, but also other components such as Power Apps, across environments and tenants.
Using DevOps you can even automate this process. We are using this as a standard procedure to move apps and flows created on behalf of clients across tenants.
You could also import solutions into the default environment, but I agree this might not be the best idea security-wise.
I would not advise to export and import individual flows, also because the handling is terrible when done at scale.
The Super User program for 2022 - Season 2 has kicked off!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.