Zerg00s / FlowPowerAppsMigrator

Converts SharePoint Data sources for the MS Flow and PowerApps to a new tenant of your choice.
MIT License
139 stars 35 forks source link
flow migration-tool powerapps powerapps-packages powerautomate powershell sharepoint

SharePoint Online Windows Version

Flow & Power Apps Migrator

Have you ever tried moving canvas apps or cloud flows across Microsoft 365 tenants or sites? This is a common task when deploying apps and flows to production. Apps and flows must be exported, and imported, and SharePoint actions must be manually updated. These manual updates are error-prone and labor-intensive. Flow & Power Apps Migrator automatically converts exported flows and apps to be compatible with the target environment.

Flow & Power Apps Migrator also helps you migrate SharePoint lists that are used as a dependency for your Apps and Flows. There is an interactive UI form that lets you do just that.

Finally, the Flow & Power Apps Migrator converts SharePoint List Forms customized with Power Apps.

Download the latest version

  

Watch a Demo

Prerequisites

Migrate-able artifacts

Artifact Support
Standalone Canvas Power Apps
Customized SharePoint List Forms Canvas apps ✔ This works again since September 2022
Canvas Power Apps that trigger Flows ✔ (flows are also migrated)
Standalone Cloud Flows
Standalone Desktop Flows
Standalone Model-driven apps N/A (not tested)
Solutions containing multiple canvas apps and flows
SharePoint Connectors
Non-SharePoint Connectors such as Word for Business
SharePoint Lists
SharePoint Libraries
Cross-Language Lists migration ❌ Both source and target sites must be created with the same language. Otherwise, you'll get the 0x80070005 (E_ACCESSDENIED) error
JSON List customizations
JSON Column formatting
SharePoint data
Content Types ✔ (migrated automatically)
Lookup fields ⚠️ (migrated only if you migrate the lookup list, too)
Data Sources located in a single site
Data Sources located in multiple sites and sub-sites

Convert flows, apps and solutions

Export flows, apps and solutions

Export all of your flows:

Export all of your apps:

2. Place exported flows, apps and solutions in the src folder

3. Run Migrate-Packages.bat

The scripts will iterate through all ZIP files inside the \src directory and convert them to be compatible with the new Microsoft 365 tenant or site.

image

image

4. Navigate to the \dist folder and collect converted flows, apps and solutions

5. Import converted flows, apps and solutions

Now you can import your flows and apps to the destination tenant. All SharePoint actions will now be converted and point to the new location.

Power Apps data sources are all converted

Flow actions are also converted

How it works

Flow & Power Apps Migrator finds all unique IDs pointing to the source SharePoint site and replaces them with the destination IDs. resourceMapping.csv contains the mapping of these IDs.

Limitations

Preparing a deployment package for your Clients and Partners

What if you created an app or flow you want your Client or Partner to have? You can package your SharePoint Lists and the apps and flows in a single package. Then you would like to hand over this package and simple installation instructions. Guess what? There is a script that prepares this package automatically for you.

Prepare-Deployment-Package-for-Client.bat script prepares a deployment package you can share with your Clients or Partners.

On your end

image

image

image

On the Client's side

Note: Convert-Packages.bat will:

image

Migrating Power Apps SharePoint List Form

SharePoint List forms customized with Power Apps can be migrated if you follow these steps:

👉 Troubleshooting Guide

Latest Updates

3.10.0 Version - 2024-01-18

Changes

3.9.8 Version - 2023-09-25

Changes

3.9.7 Version - 2023-09-22

Changes

3.9.6 Version - 2023-09-06

Changes

3.9.5 Version - 2023-08-30

Changes

3.9.4 Version - 2023-08-06

Changes

3.9.3 Version - 2023-07-14

Changes

Known issues

3.9.2 Version - 2023-07-05

Changes

Known issues

3.9.1 Version - 2023-06-11

Changes

Known issues

3.9.0 Version - 2023-06-07

Changes

{
    "source-site-url": "",
    "target-site-url": "",
    "source-site-app-id":"",
    "source-site-app-secret":"",
    "target-site-app-id":"",
    "target-site-app-secret":""
}

Known issues

3.8.6 Version - 2023-05-10

Changes

3.8.5 Version - 2023-02-20

Changes

3.8.4 Version - 2023-02-03

Changes

3.8.3 Version - 2022-09-30

Changes

Known issues

3.8.2 Version - 2022-09-28

Changes

Known issues

3.8.1 Version - 2022-09-04

Bug fixes

Known issues

3.8 Version - 2022-09-04

New features

Bug fixes

Known issues

3.7 Version - 2022-09-01

New features

Known issues

3.6 Version

New features

Known issues

3.5 Version

New features

Known issues

3.4 Version

3.3 Version

3.1 Version

3.0 Version - Major update

New features added:

2.1 Version

New feature added:

Support this project

I like coffee and consume lots of it while coding. If you want to support me, you can click on the "buy me a coffee" button:


Buy Me A Coffee