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.
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.
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.
It will show the App and the Table. Select both which will enable the Export button in the top ribbon. Click on Export
This will open a right pane where we can review the selection. Click on Export as zip to finish the export.
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.
Select the Build tab. In case there are no existing Apps or tables in the Team, click on the Import your solution link
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.
Browse and upload the recently exported zip file and click on Next.
It lets us select the items to be imported from the solution. Select the items and click on Import.
We can now see the imported App and table in the new tenant.
Click on the Canvas App so that it opens up within Microsoft Teams. We can see that it has opened up without any issues.
Click on Publish to Teams so that users can start using it.
Specify the Channel to which it must be published and click on Save.
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.
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.