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

ODATA handling of more than 10000 records: nextLink?

(1) ShareShare
ReportReport
Posted on by 230
Hello,
 
we are facing the /known ODATA problem/ when working with more than 10000 records. What is the best way to handle those issues?
 
I read something about a nextLink keyword in ODATA but found nothing or no example for D365FO. I know that you could work with $skip $top to get the records in smaller packages, but this is quite a bit more of work than nextLink.
 
Thanks for any hints.
 
Sebastian
I have the same question (0)
  • Suggested answer
    Anthony Blake Profile Picture
    2,711 Super User 2025 Season 2 on at
    [D365FO]: ODATA handling of more than 10000 records: nextLink?
  • Basti Aurand Profile Picture
    230 on at
    [D365FO]: ODATA handling of more than 10000 records: nextLink?
    Thanks for the repsonse.
     
    In the "Odata.NextLink" post the logic is described but unfortunatly there is no link in the ODATA response if you reduce the size with $top:
     
     
    How could you reduce the size of the response and get the "getNext-Link" in the JSON response?
  • Suggested answer
    Anthony Blake Profile Picture
    2,711 Super User 2025 Season 2 on at
    [D365FO]: ODATA handling of more than 10000 records: nextLink?
    That's correct, if you reduce the size to 100 rows, there wont be a next page so no next link. You will get the link if the results go over 10k rows
  • Basti Aurand Profile Picture
    230 on at
    ODATA handling of more than 10000 records: nextLink?
    Is there any chance to configure the size of the packages (e.g.: 5000 instead of 10000)
  • Suggested answer
    Andreas Raithel Profile Picture
    4,963 Moderator on at
    ODATA handling of more than 10000 records: nextLink?
    Hy,
    as per MS recommdation ODATA is only recommended for small data volume and less frequent actions as it can negative impact D365FO landscape.
     
    Instead I recommend to create use data package and execute the data project from external (Data management package REST API - Finance & Operations | Dynamics 365 | Microsoft Learn)
    If is is just export the "Export to DataLake" (already depreciated) or Synapse Link are also good choices as mentioned by Anthony.
     
    Hope this helps.
  • Suggested answer
    Anthony Blake Profile Picture
    2,711 Super User 2025 Season 2 on at
    ODATA handling of more than 10000 records: nextLink?
    @sebastian, no its at 10k, but you could use $top 5000 with $skip 5000 

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,177

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 593 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans