cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Dual Super User
Dual 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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (5,460)