In Dynamics 2015 Update 1, a small update was released that you might have missed called Change Tracking. This feature is implemented via the CRM SDK and let’s developers query for changes to the system, supplying a watermark (the token) from the last fetch to start retrieving from in the next fetch.
In terms of data retrieval, this is a big feature as no longer do you need to add fields into Dynamics to store this information and instead can leverage the platform as is to return this data and keep track of it for you.
For this post, I used the code from MSDN, modifying it slightly.
Enabling Change Tracking
Change Tracking is enabled on a per-entity basis – another great idea as it enforces the notion of “only use what you