Understanding Historical Field Updates in Microsoft Dataverse: CreatedOn, CreatedBy, ModifiedOn, and ModifiedBy
When working on data migration projects in Dynamics CRM / Dataverse, one of the most common requirements is preserving historical data such as: Created On Created By Modified On Modified By At first glance, it may seem straightforward to set these fields using the CRM SDK. However, many developers quickly discover that some values are ignored while others work only in specific scenarios. This blog explains the behavior of these system fields across different execution contexts and clarifies when Dataverse allows overriding them. Why This Matters In most enterprise migration projects, business users expect migrated records to retain original audit history from legacy systems. For example: Field Expected Historical Value Created On Original record creation date Created By Original creator Modified On Last modification date from source system Modified By Last modifier from source system Many developers attempt to achieve this directly through SDK operations, only to find inconsistent...