cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

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
Highlighted
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.
Highlighted
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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Users online (7,256)