Showing results for 
Search instead for 
Did you mean: 
Super User
Super User

PowerApps - Howto Export a flow to a zip file



Is there a PowerApps command (via PowerApps for administrators or PowerAutomate for Administrators) to export a PowerAutomate Flow to a Zip File ?





Skilled Sharer
Skilled Sharer

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?

Community Support
Community Support


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.





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:

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.

Hi @joe_hannes_col 


Would you be willing to share how DevOps is used to copy PowerApps and Flows across environments ?





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 🙂

Thanks @joe_hannes_col 

@NigelP, does this help you move your flows across tenants? Do you need more support?

Helpful resources

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,914)