How to use continuation token in Pipeline Runs - Query By Factory

Sujal Mandal 45 Reputation points
2023-10-30T13:12:21.63+00:00

When we hit the below API endpoint to query all the pipeline runs, we are getting a Continuation Token at the end of the response but there is no documentation as how to use the token to retrieve next page results.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns?api-version=2018-06-01

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

Accepted answer
  1. Bhargava-MSFT 31,011 Reputation points Microsoft Employee
    2023-11-02T19:59:10.15+00:00

    Hello Sujal Mandal,

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer.

    Issue:

    How to use continuation token in Pipeline Runs - Query By Factory to retrieve next page results

    Solution:

    Using the continuation token as a parameter retrieved the next page.

    https://learn.microsoft.com/en-us/rest/api/datafactory/pipeline-runs/query-by-factory?view=rest-datafactory-2018-06-01&tabs=HTTP#request-body

    If you have any other questions or are still running into more issues, please let me know.
    Thank you again for your time and patience throughout this issue.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.