web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to get ODATA Change Tracking for F&O Entities Working

(6) ShareShare
ReportReport
Posted on by 13
Hi,
 
I have been following the documentation on change tracking for Non-BYOD.
Ive changed the 'Change Tracking' properties on some of my entities and tried both 'Primary Table' and 'Entire Entity'.
Then in postman i call the API with the header containing Prefer: odata.track-changes and the OData-Version: 4.0, similiar to the below link's example.
In my case, the URL looks something like
https://XXXX-Xuat.sandbox.operations.dynamics.com/data/VendorGroups
 
The issue is that i still not getting the delta link in the response, it just gives me all of the vendor group data, even if i do some changes to a vendor group, so i assume i have done the change tracking settings wrong.
Ive read other posts from people who have had similar issues and i haven't found a solution.
It is sometimes hard/confusion to research because different posts and documentations refer to CRM or another one of the products when talking about change tracking.
Does this feature work for F&O's api? I know it works for CRM as i have done it before.
For CRM, in the URL i would do https://XXXX/api/data/v9.2/ .... and then in the header add the odata.track-changes, so im wondering if i have to add a version in the F&O url, but it doesn't seem to work and i cant find documentation that does it like that in F&O
I have managed to get the change tracking working in the csv export, when i create a batch job that exports an entity, when i did the steps to change the change tracking properties on the entity, but i dont know what im missing to get it working on the API.

Has anyone been able to get it working? How were you able to do it?
I have the same question (0)
  • Suggested answer
    Anthony Blake Profile Picture
    2,655 Super User 2025 Season 2 on at
    How to get ODATA Change Tracking for F&O Entities Working
     
    Change tracking within D365 can be used in the Data management workspace, and therefore using the bulk APIs for packages and recurring integrations.
     
    I don't think that OData directly to D365 supports change tracking.
     
    This link backs that idea up: 
     
    Change tracking can be enabled for non-BYOD scenarios. This includes retrieving record changes through Dataverse virtual entities for finance and operations apps. When change tracking is enabled for an entity, changes can be retrieved through the entity's OData endpoint by adding odata.track-changes as a preference header.
    The query you are performing above uses the correct odata.track-changes header, however as you can see this is designed to work with Dataverse virtual entities rather than the OData endpoints directly in F&O. This explains exactly why you have previously had success tracking changes to CE.
     
    So the good news is, instead of accessing the VendorGroups table directly, you can use the Dataverse OData endpoint and access it via it's virtual entity, which enabled the change tracking functionality Dataverse provides. The data in virtual entities comes straight from source, just via a hop to Dataverse which adds the change tracking functionality.
     
    I haven't tried this out yet, but it looks really nice and I will be giving it a go myself soon.
     
    Please reply back when it works!
     
    Anthony
  • Community member Profile Picture
    4 on at
    How to get ODATA Change Tracking for F&O Entities Working
    Hi Folks,
     
    Did you end up solving this issue? I'm facing the same problem, and it's very frustrating.
     
    Thanks
  • Suggested answer
    Raj Borad Profile Picture
    1,321 on at
    How to get ODATA Change Tracking for F&O Entities Working
    Hi,
     
    I think the change tracking via OData for F&O APIs does work, but only if the data entity and its underlying table have change tracking enabled. 
     
    Please check below things:
    1. In AOT, enable “Enable change tracking” on the data entity and on the primary table.
    2. Set “Change tracking type” to “Entire entity” or “Primary table only”.
    3. Make sure the entity is public, and accessible via OData.
    4. Run the OData GET with the `Prefer: odata.track-changes` header.
    5. On the first call, a delta link won't appear—only after a subsequent call to that delta link will changes show.
     
    Are you making a second call to the delta link returned from the first response? That’s necessary to see changes.
  • CU30040414-0 Profile Picture
    2 on at
    How to get ODATA Change Tracking for F&O Entities Working
    Hi there,
     
    Did you end up solving this issue? I'm facing the exact same problem and it's driving me nuts :)
     
    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 846 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 838

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 818 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans