ADF Resource Manager ContinuationToken not working

Tommy Tam 0 Reputation points
2025-05-06T10:38:12.4833333+00:00

I'm using the ADF Resource Manager as per this documentation. I have managed to make the first Post API call to return the first 100 results as well as the continuationToken, but there is no documentation on how to use this to retrieve the next page of results.

The format of the continutationToken is as follows:

"continuationToken": "[
  {
    "token": "token_value",
    "range": {
      "min": "05C1EBFB6DDB0C",
      "max": "FF"
    }
  }
]"

In the next API call, I have tried putting in this entire continutationToken like this:

"continutationToken" : "@{json(activity('List All Pipeline Runs').output.continuationToken)}"

But it gives me this error (same even if I remove json() from above):

{
  "errors": {
    "continutationToken": [
      "After parsing a value an unexpected character was encountered: t. Path 'continutationToken', line 13, position 28."
    ]
  },
  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
  "title": "One or more validation errors occurred.",
  "status": 400,
  "traceId": "00-e9b40a781284a7b78418ab3b5ee889e5-4f32017ab1886866-01"
}

enter image description here

I have also tried to feed in just the token_value into the next API call like this:

"continutationToken" : "@{json(activity('List All Pipeline Runs').output.continuationToken)[0].token}"

This ran successfully, but the results returned are identical to my initial API call and so not giving me the next page of results still.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,486 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.