web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Exporting canvas apps ...
Power Apps
Answered

Exporting canvas apps to another environment

(0) ShareShare
ReportReport
Posted on by 1,625

Hello,

Is there a good way to export to another environment a bunch of canvas apps, with each canvas apps datasource being an SPO list?

And then import them datasource and canvas app to another environment? 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    CU24091509-0 Profile Picture
    417 on at

    The only recommended way is to export and import.

    Please follow this blog and it gives you step by step guidance on how to do that.

    https://www.codesharepoint.com/sharepoint-tutorial/powerapps-export-and-import-package

     

    Also ShaneYoung has done few videos on doing the same.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up

  • WarrenBelz Profile Picture
    154,874 Most Valuable Professional on at

    HI @Lefty ,

    Firstly, the SP list is independent of the environment, so you do not have to worry about it.

    You can then use Export package, save the file and then (in the new environment) Import canvas app.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • WarrenBelz Profile Picture
    154,874 Most Valuable Professional on at

    Hi @Lefty ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Lefty Profile Picture
    1,625 on at

    @WarrenBelz apologies, 

    exporting the PowerApps would allow me to import to any environment, without any thing else being enabled?

    With regards to the SPO list, what's the work around, of course I can save the list as a template, and import into another environment, issue is when Power Apps talks to SPO, I will need to refresh, and losing all my design any code specific to fields on the form, is that correct?  

  • WarrenBelz Profile Picture
    154,874 Most Valuable Professional on at

    Hi @Lefty ,

    SharePoint lists exist on sites, not environments, so I assume you mean site. When you export as a Template all of your field definitions and views come over - the main thing missing will be Lookup columns if you have any of those (they are best done without anyway).
    You will then need to disconnect your current connections (they will be invalid now) and re-connect to the list in the new location.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • Lefty Profile Picture
    1,625 on at

    Hi @WarrenBelz 

    What I meant was moving a SharePoint list to a different environment, not a different site collection.

    I am not using lookups, so that wouldn't be an issue for me.

    I recall the last time I tried this, when I did not export my PowerApps, just needed to the same columns of a SP list, the list was exported to another site collection (same environment) and imported to another site collection, when I added the data source in PowerApps, it wanted me to refresh all the fields.... of course if I did this, I lose all my design and all code associated with the fields, i.e. hiding fields based on another choice field etc.?

     

    What I want to do know is would exporting a Power Apps from one environment to another and exporting (saving as template) the SPO list, and importing to another SPO environment - and attaching both the Power apps form and SPO list, together (in a new environment) would this actually work?

  • WarrenBelz Profile Picture
    154,874 Most Valuable Professional on at

    Hi @Lefty ,

    Again, I assume you mean Site here for SP (Environments are for Power Apps / Power Automate) - you can "bundle" Power Apps and Power Automate together with the Export function, but your data source is a completely separate issue. Also you do not need to move your SharePoint list just because you have moved environments in Power Apps - it will keep working fine with the existing connection.

    The only way to "shift" a SharePoint List/Library with any functionality retained is the exporting as a Template and (optionally) including the data.  You need to delete the "old" data sources in Design mode the moment you enter the App and then connect the "new" one. It is best that you cannot "see" any form relying on this at the time. If you are asked to refresh after this - answer "No".

    I have shifted a number of apps this way and never had any issues.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Lefty Profile Picture
    1,625 on at

    Hi @WarrenBelz 

     

    OK my bad, when I meant moving SP lists, I meant to a different tenant.

    I will need to try this again with a test app, I faced issues when I tried this, but clearly I have been doing something wrong if you have moved many apps this way?

     

     

    I'll be in touch if that's ok when I can try this and when i face issues.

  • Verified answer
    WarrenBelz Profile Picture
    154,874 Most Valuable Professional on at

    Hi @Lefty ,'

    I move SharePoint Lists/Libraries from a Test sub-site to the prod site, where the Template is saved to the main site and created as an App in Prod (also a sub-site of the main), however this should also work with exporting the Template and importing it to the new Tenant. I will wait to hear from you.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 602

#2
WarrenBelz Profile Picture

WarrenBelz 473 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 310

Last 30 days Overall leaderboard