Forum Discussion
Power Platform migration tool
Download the latest release and run the Migrate-Packages.bat batch file. Then follow the instructions on the screen. You can even migrate multiple apps, flows and solutions at the same time.
Full disclosure: I wrote this tool, but it's completely free. It used PowerShell PnP under the hood to connect to SharePoint Online sites.
- DWD76Jan 19, 2022Copper ContributorCan you confirm that this can be used with other canvas apps or is it specific to only SharePoint related power apps like SharePoint custom forms?
- Denis MolodtsovJan 19, 2022Brass Contributor
If your Canvas Apps and Flows don't use SharePoint, then you simply don't need this tool. All you need to do is Export your apps and flows from one environment and import to a new environment. No tools needed.
- SanthoshB1Jan 20, 2022Bronze ContributorManual export and import is possible. But all mappings (Ex: Plans, Teams, SP Site) need to be mapped and connector accounts to be authenticated again.
- KarlInOzOct 31, 2022Brass Contributor
I read your documentation for this tool on github. It looks like a real game changer thank you so much for developing and sharing it. I'm looking forward to trying it out on copying a power app between tenants but I have a question first. In your readme you say that before migrating, any lists need to be created in the destination. Do the created lists need to have the same structure recreated or is it enough to just create the lists with say just a title column? What I am asking is, will your tool create the list structure in the destination or do we need to create it manually?
- Denis MolodtsovNov 03, 2022Brass ContributorHi KarlInOz. In the latest version of the Flows and Apps migrator you can also choose to migrate lists. So, hopefully, this will solve this question.
But overall, it's best to match your destination lists as closely to the original ones as possible, but only of they are using in your flows or apps.- KarlInOZ780Nov 03, 2022Copper Contributor
Denis Molodtsov thanks for your reponse.
Sadly importing the lists didn't work, I got an error
Exporting lists and libraries... Get-PnPProvisioningTemplate : Attempted to perform an unauthorized operation. At D:\Programs\FlowPowerAppsMigrator\MISC\Move-Lists.ps1:87 char:9 + Get-PnPProvisioningTemplate -ListsToExtract $titles -Out "Lis ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (:) [Get-PnPProvisioningTemplate], ServerUnauthorizedAccessException + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Site.GetProvisioningTemplate
so I manually exported the lists from the source and imported them to the destination.
But now my import attempt of the flow fails with the error
Flow save failed with code 'DynamicOperationRequestClientFailure' and message 'The dynamic operation request to API 'sharepointonline' operation 'GetTable' failed with status code 'Unauthorized'. This may indicate invalid input parameters. Error response: { "error_description": "Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown." }'.
None of which I have the skills to decode yet, so as yet I haven't succeeded.