compare_solution_snapshots
Compare two versioned Dynamics 365 solution snapshots to verify shape and hashes, then report missing, extra, or changed component references and property paths; gaps make results inconclusive.
Instructions
Compare two versioned snapshot objects locally without CRM settings. Verify canonical shape and integrity hashes; match portable names and selected properties/root scope, ignoring environment GUIDs and label transport fields. Report missing/extra/changed component references and property paths. Gaps/ambiguous keys/unknown scope make the comparison inconclusive, never a false pass. Option display order, unselected settings, full payload, managed layers, publication and runtime are outside this profile. Read-only; no authentication or environment switching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceSnapshot | No | The complete snapshot object from get_solution_snapshot, not the success wrapper. Versioned strict shape, <=2 MiB/200 memberships, canonical definitions and all hashes are checked. Hashes do not prove authenticity. | |
| targetSnapshot | No | The complete snapshot object from get_solution_snapshot, not the success wrapper. Versioned strict shape, <=2 MiB/200 memberships, canonical definitions and all hashes are checked. Hashes do not prove authenticity. | |
| expectedManaged | No | Explicit expected target managed state, e.g. true for a managed export of an unmanaged source. | |
| source_snapshot | No | The complete snapshot object from get_solution_snapshot, not the success wrapper. Versioned strict shape, <=2 MiB/200 memberships, canonical definitions and all hashes are checked. Hashes do not prove authenticity. | |
| target_snapshot | No | The complete snapshot object from get_solution_snapshot, not the success wrapper. Versioned strict shape, <=2 MiB/200 memberships, canonical definitions and all hashes are checked. Hashes do not prove authenticity. | |
| expected_managed | No | Explicit expected target managed state, e.g. true for a managed export of an unmanaged source. |