Skip to main content

Notifications

Announcements

No record found.

Customer Service forum
Answered

How to get paged accounts results with OData to pass the 5000 limit

Posted on by 10

I am doing integration with CRM and hit the 5000 limit when calling

crm.dynamics.com/api/data/v9.0/accounts?$top=500000&$count=true

I do not see the nextpage in the results

Categories:
  • Suggested answer
    OferGal Profile Picture
    OferGal 10 on at
    RE: How to get paged accounts results with OData to pass the 5000 limit

    Got it Thanks

  • Verified answer
    Guido Preite Profile Picture
    Guido Preite 54,057 Super User on at
    RE: How to get paged accounts results with OData to pass the 5000 limit

    you don't need to add the $top clause, if the result contains an odata nextlink means that you still have records to fetch (by exploring the link you received)

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans