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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

I was trying to get skiptoken from @odata.nextlink in power automate cloud flow , but I cannot find this nextlink field in dataverse output.

(0) ShareShare
ReportReport
Posted on by

I was using xrmtoolbox to check the total number of value I should get from the query, and it shows 252651 records should be returned. 

pastedimage1656679339117v1.png

Then I created a cloud flow, cloud flow will only return 5000 records by default, but I want to get all records (252651), I was trying to use skip token but it doesn't work because @odata.nextlink is not in the output of "List Accounts" step, can someone help me find out where is the issue? thank you!

pastedimage1656679675894v2.pngpastedimage1656679725569v3.png

I have the same question (0)
  • Community Member Profile Picture
    on at

    pastedimage1656680183523v1.pngSkip token value is always blank. 

  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    Please check below blog to fetch more than 5000 records from power automate

    softchief.com/.../

  • Community Member Profile Picture
    on at

    Hi It doesn't work for me.. the paging cookie is always empty. I cannot find this variable in my List Accounts output.

    pastedimage1656897045275v1.png

  • PHemingway610 Profile Picture
    2 on at
    All the articles say to use 'skiptoken=' as the delineator for the split function.  But the URI comes with "skiptoken%3D" and we haven't decoded it yet, so I'm pretty sure it fails to find 'skiptoken=' ... replace with %3D and all of a sudden the skip token variable gets populated.  That got me one step further but I still have malformed XML and my loop only runs once and my flow fails.  Hope this helps, though (two years late).
  • Suggested answer
    syd1 Profile Picture
    2 on at
    try to decode it twice. So, based on the original code it could be something like:
    if
    (
    	empty
    	(
    		outputs('List_accounts')?['body/@odata.nextLink']
    	),
    	'',
    	decodeUriComponent
    	(
    		decodeUriComponent
    		(
    			last
    			(
    				split
    				(
    					uriQuery(outputs('List_accounts')?['body/@odata.nextLink']),
    					'skiptoken%3D'
    				)
    			)
    		)
    	)
    )
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans