compare_solution_snapshots
Compare two versioned solution snapshots locally without CRM settings to verify hashes and canonical shape, then report missing, extra, or changed components and property paths.
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. | |
| environment_profile | No | Optional named environment profile for this call; omit to use the configured default. |