Hi
Is there a PowerApps command (via PowerApps for administrators or PowerAutomate for Administrators) to export a PowerAutomate Flow to a Zip File ?
Thanks
Nigel
Hello @NigelP,
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 ::
https://powerusers.microsoft.com/t5/Building-Power-Apps/Power-App-Solution-Package-Extract-and-Re-ZI...
Thanks
HI
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.
Regards
Nigel
Hello @NigelP,
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.
Would you be willing to share how DevOps is used to copy PowerApps and Flows across environments ?
Thanks
Nigel
Hi @NigelP,
Apart from the official Microsoft documentation on the Power Platform Build Tools I can very much recommend Nick Doelman's blog post on establishing an ALM process for Power Platform solutions 🙂
@NigelP, does this help you move your flows across tenants? Do you need more support?