02 · Target state

A governed Azure medallion, delivered in two phases

AWS keeps doing the computation. An Azure VM running the Amazon Athena ODBC driver pulls order data across, and the D365 team publishes Dataverse through Azure Synapse Link - both landing raw in Bronze on ADLS Gen2. Silver and Gold curate; Gold serves Pigment and posts back into the ledger.

Phase 1 protects the record from day one; Phase 2 replaces the manual routesTrainline · target state
100%
Source & Ingestion - AWS and Dynamics 365 into Azure
Azure Data Platform - ADLS Gen2 medallion (hierarchical namespace enabled)
Serving - planning and ledger
ODBC (private network)Dataverse publishLand rawLand rawMERGE INTOCurate & aggregateRuns the pipelinesServe - planning feedServe - posting-ready linesQuery & extract
Phase 1 · Capture & audit trail
Both sources land raw and immutable, exactly as they arrived. Nothing is reshaped yet. From day one Trainline holds a complete record of AWS and Dynamics 365 data in its own tenant - the thing that makes every later number retraceable.
Phase 2 · Designed with finance
Silver conforms both sources; Gold applies the aggregation grain, measures and batch reference key agreed with finance - so a served figure traces back to raw, and a raw record traces forward to where it landed.
LegendPhase 1 - Raw capture into BronzePhase 2 - Silver, Gold & serving1Numbered step in the primary data flow