In this video, Brian Knight from Pragmatic Works walks through a practical and efficient method for migrating data between environments in the Power Platform. While many users are familiar with migrating solutions (apps, flows, and tables), Brian emphasizes a key limitation—data does not automatically transfer with solutions. This tutorial focuses specifically on how to migrate data safely and selectively using Microsoft’s Data Migration Utility.
Brian begins by explaining why data is excluded during solution migration. When moving from development to production environments, bringing over test or sample data could contaminate production systems. This separation ensures cleaner deployments and avoids unintended data conflicts.
However, there are scenarios where migrating specific datasets is necessary—such as moving configuration data, lookup values, or testing records. This is where the Data Migration Utility becomes essential.
The Data Migration Utility is a free Microsoft tool designed to export and import data across environments. While it may have minor quirks, it provides a structured and scalable way to move large datasets efficiently.
Brian outlines the three main phases involved in the process:
To demonstrate, Brian sets up two environments:
He creates sample records in the development environment and ensures that the production environment is clean by removing existing data. This setup helps validate that the migration process works correctly.
The installation begins by downloading a PowerShell script provided in the video description. Brian demonstrates how to:
Once executed, the script installs a set of administrative tools, including the Data Migration Utility, within a tools directory.
After launching the utility, Brian selects the “Create Schema” option. This step defines what data will be migrated.
Key actions include:
Using solutions simplifies the process because all related tables are grouped together. The schema is then saved as an XML file.
Once the schema is created, Brian proceeds to export the data. The tool generates a ZIP file containing the selected records.
Important considerations:
This flexibility makes the tool suitable for both small and large-scale migrations.
In the final phase, Brian logs into the destination environment and selects the “Import Data” option.
The process includes:
The utility validates the data before importing it. Once completed, the migrated records become visible in the destination environment after a refresh.
Brian shares several practical insights to ensure a smooth migration process:
He also notes that the utility appends data rather than overwriting existing records, which is an important behavior to consider during testing and deployment.
Beyond basic data migration, this method can also be applied to:
Brian highlights that this process complements solution migration rather than replacing it. Together, they provide a complete deployment strategy for Power Platform applications.
This tutorial by Brian Knight provides a clear and structured approach to handling one of the most common challenges in Power Platform development—data migration. By leveraging Microsoft’s Data Migration Utility, users can selectively and efficiently move data across environments without risking production integrity.
For organizations managing multiple environments, mastering this process is essential for maintaining clean deployments, ensuring data consistency, and supporting scalable application development.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Power Platform and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.