Migrate a Microsoft Teams Power App across Tenants

Introduction

Building a Power App solution within Microsoft Teams has become an easy task with the improved integration between both technologies. There can be instances where we would like to migrate one of such Power Apps solutions created for a Teams environment to a totally different Tenant. It can even be moving of the solution from the Dev to Prod Tenant.

In this article, we will see how to move a Power App Created in one Teams Tenant to another Tenant with the least effort.

Scenario

We have created a Procurement App in Teams that use a Canvas App in the Front end and a Dataverse table in the back end. We need to move it to a new Teams Environment.

Export the solution

To facilitate the migration of the solution, lets first export the Canvas App and its dependencies. To do this, head over to the Power Apps App in Microsoft Teams and go to the Build Tab. Click on the See all link in the window.

Graphical user interface, application, Teams

Description automatically generated

It will show the App and the Table. Select both which will enable the Export button in the top ribbon. Click on Export

Graphical user interface, text, application

Description automatically generated

This will open a right pane where we can review the selection. Click on Export as zip to finish the export.

Graphical user interface, text, application, email

Description automatically generated

Import the Solution

Now that the solution is exported as a zip, let’s head over to the new tenant and log in to the Microsoft Teams. Add the Power Apps app from the app collection to the team.

Graphical user interface, application, Teams

Description automatically generated

Select the Build tab. In case there are no existing Apps or tables in the Team, click on the Import your solution link

Graphical user interface, application, email, Teams

Description automatically generated

If there are some already existing solutions in the team, click on See all that will navigate you to the screen from where you can import a solution.

Graphical user interface, text, application, email

Description automatically generated

Browse and upload the recently exported zip file and click on Next.

Graphical user interface, text, application, Teams

Description automatically generated

It lets us select the items to be imported from the solution. Select the items and click on Import.

Graphical user interface, text, application

Description automatically generated

We can now see the imported App and table in the new tenant.

Graphical user interface, text, application

Description automatically generated

Click on the Canvas App so that it opens up within Microsoft Teams. We can see that it has opened up without any issues.

Graphical user interface, application, Teams

Description automatically generated

Click on Publish to Teams so that users can start using it.

Graphical user interface, application, Word

Description automatically generated

Specify the Channel to which it must be published and click on Save.

Graphical user interface, application, Teams

Description automatically generated

Test the App

Now if we head over to the Team to which the App has been added, we can see the app available as a tab. Opening it would bring up the Procurement App using which we can issue procurement requests.

Graphical user interface, application, Teams

Description automatically generated

Summary

Thus, we saw how to migrate a Canvas App and Dataverse table created within Microsoft Teams to a totally new tenant and import it into the new Teams environment.

Related Articles

Author

Author

Priyaranjan KS is a Modern Workplace Architect primarily focused on developing and architecting solutions around Office 365,Power Platform and Azure.He is also a Microsoft Most Valuable Professional(MVP) and a Microsoft Certified Trainer(MCT)

Latest Articles