Upsert

Upsert determines if a key of a record is mapped and performs either an update or an insert operation in response. This functionality, available for both bulk and row-by-row operations, is determined by the Dynamics 365 version you are running:

Note: The Upsert operation is not supported by Microsoft Dynamics CRM on-premise deployments, and on CRM Online 2015 and below. Support for Upsert began as of the CRM Online 2015 Update 1 release. Using the Upsert operation with a version of Microsoft Dynamics CRM where Upsert is not supported causes duplicate records to be created if a record already exists. Use Update/Insert instead. See Use Upsert to insert or update a record on the Microsoft Developer Network for more information.

Note: The overiddencreatedon field is not supported for Upsert operations, only for Create operations.