-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[BUG] ADF Activity Runs query can't do pagination #57588
Description
Library name and version
Azure.ResourceManager.DataFactory 1.11.0
Describe the bug
Can't query more than 100 ActivityRuns via API because ContinuationToken is not exposed.
Only way to call Activity Runs -Query By Pipeline Run is by calling DataFactoryResource.GetActivityRunAsync.
Problem is that all you get from this call is AsyncPageable<PipelineActivityRunInformation> which means ContinuationToken value is lost...
Since pagination is implemented via RunFilterContent property it means "default" nextLink logic for pages can't work.
This same issue existed for DataFactoryResource.GetPipelineRunsAsync and #39438 was created and resolved in #42247
Expected behavior
All activities from the pipeline run id meeting the RunFilterContent are returned.
Actual behavior
Only returns first page (100 rows) and no way to do pagination
Reproduction Steps
Execute dataFactoryResource.GetActivityRunAsync(pipelineRunId, runFilterContent) for a pipeline run with over 100 activities, and only the first page (100 activities) will be returned.
Environment
Visual Studio 2026 18.4.2