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 :
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
    RE: I was trying to get skiptoken from @odata.nextlink in power automate cloud flow , but I cannot find this nextlink field in dataverse output.

    pastedimage1656680183523v1.pngSkip token value is always blank. 

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: I was trying to get skiptoken from @odata.nextlink in power automate cloud flow , but I cannot find this nextlink field in dataverse output.

    Hi,

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

    softchief.com/.../

  • Community Member Profile Picture
    on at
    RE: I was trying to get skiptoken from @odata.nextlink in power automate cloud flow , but I cannot find this nextlink field in dataverse output.

    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
    I was trying to get skiptoken from @odata.nextlink in power automate cloud flow , but I cannot find this nextlink field in dataverse output.
    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
    I was trying to get skiptoken from @odata.nextlink in power automate cloud flow , but I cannot find this nextlink field in dataverse output.
    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

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 > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 186

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 130 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans