EnvironmentCopySnapshotRestore 1.2026.10.5

dotnet add package EnvironmentCopySnapshotRestore --version 1.2026.10.5
                    
NuGet\Install-Package EnvironmentCopySnapshotRestore -Version 1.2026.10.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EnvironmentCopySnapshotRestore" Version="1.2026.10.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EnvironmentCopySnapshotRestore" Version="1.2026.10.5" />
                    
Directory.Packages.props
<PackageReference Include="EnvironmentCopySnapshotRestore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EnvironmentCopySnapshotRestore --version 1.2026.10.5
                    
#r "nuget: EnvironmentCopySnapshotRestore, 1.2026.10.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EnvironmentCopySnapshotRestore@1.2026.10.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EnvironmentCopySnapshotRestore&version=1.2026.10.5
                    
Install as a Cake Addin
#tool nuget:?package=EnvironmentCopySnapshotRestore&version=1.2026.10.5
                    
Install as a Cake Tool

Environment Copy – Snapshot & Restore

XrmToolBox tool for Dataverse / Dynamics 365 environment refreshes.

Copying production over a sandbox (UAT, pre-production) wipes everything specific to that sandbox: flows are turned off, environment variables point to production values, plugin steps get their production state, users and teams get their production roles, configuration tables are replaced.

This tool takes a snapshot of the sandbox before the copy, then restores only the differences after it.

What is saved and restored

  • Cloud flows, business rules, classic workflows, actions and business process flows: on or off
  • Plugin steps: enabled or disabled
  • Environment variables (current values)
  • Users: roles, teams, column security profiles; application users
  • Teams: security roles (a team missing from the copy is reported, never recreated)
  • Theme
  • SharePoint sites: address of the existing site declarations
  • Configuration tables of your choice: whole records
  • Environment settings (plugin trace log, audit, session timeouts…): compared only, differences are listed
  • Solution versions compared with production

Values holding a Power Automate trigger URL are flagged with ⚠ and left unticked: the URL changes with the copy.

Components can be filtered by publisher prefix, so that Microsoft flows, variables and plugin steps are left out.

How it works

  1. Before the copy – connect to the sandbox, open the Snapshot tab, tick the content to save and take the snapshot (read-only). A timestamped folder is created, with one JSON file per component type; the saved components are listed type by type in the tool.
  2. After the copy – open the Restore tab, pick the snapshot and run the analysis: it is a dry run that lists every difference, with its current and saved value. Tick what to restore, then apply. What cannot be restored automatically is listed as items to do manually. A log is written next to the snapshot.

Roles that come from production are removed, so that users and teams get back exactly their sandbox roles (never for the account running the restore). Extra rows and steps are only reported. Secrets (secure configurations, keys) are never read.

Online Dataverse only (OAuth, client secret or certificate connections).

Author: Saad ZAGHLOUL.

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2026.10.5 213 10/25/2026
1.2026.10.3 106 10/25/2026
1.2026.10.2 100 10/25/2026
1.2026.10.1 116 10/25/2026

1.2026.10.5: actions in the toolbar only, enabled per tab; a message bar shows the next step and warnings (old snapshot, trigger URLs, snapshot of another environment).
1.2026.10.4: connection badge on the row of the tabs, more room for the content.
1.2026.10.3: no local build path in the assembly.
1.2026.10.2: the Help button opens the online documentation.
1.2026.10.1: first release: snapshot of a sandbox before a production copy, comparison after the copy, restore of the ticked differences, items to do manually.