cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DavePotts_BritE
Level: Powered On

Import/Export PowerApps and Flow to New Environment

I've a combined PowerApp and Flow that I use together to implement a business system. I'm trying to develop  the components in one environment, move the components to a test environment, then publish to a production environment. I'm finding it time consuming and fiddly to get the environment moves to work. Below are the steps that I'm using. Is there a better way?

 

  1. Go to https://web.powerapps.com/
  2. Edit app
  3. Save as -> local computer -> downloads .msapp file
  4. Go to https://flow.microsoft.com
  5. Edit Flow
  6. Export -> package.zip
  7. Switch to target environment
  8. My flows -> Import
  9. Import package zip file
  10. Manual create connectors as needed
  11. Go back to https://web.powerapps.com/ now in the target environment
  12. Go to Create an app
  13. Open -> browse files
  14. Import msapp file
  15. File -> Save
  16. Manually reconnect the Flow ...
  17. Go to the button that starts the flow
  18. Cut and paste out the code and save to text editor
  19. Go to Action -> Flows
  20. Add the flow
  21. Paste back in the code copied above - changing the connector name as needed
  22. Save and publish the app

 

I can't export the powerapp as a package as I've deleted one of the flows in the past and now I'm stuck with not being able to export as package.

2 REPLIES 2
Super User
Super User

Re: Import/Export PowerApps and Flow to New Environment

To export a PowerApp and Flow together you should take a look at packaging them up as a solution.  Take a look at the following:

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/add-app-solution



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Super User
Super User

Re: Import/Export PowerApps and Flow to New Environment

@DavePotts_BritE , you're right, its a pain to initially move Canvas apps and Flows between environments. Once you get baselined (PowerApp and Flow in both DEV and PROD envs), it gets a bit easier as you SHOULD be able to just "Update" (overwrite) the existing apps with the latest version. 

 

Solutions only work with CDS.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 55 members 4,328 guests
Please welcome our newest community members: