Skip to content

[BUG] ADF Activity Runs query can't do pagination #57588

@rnicholson14

Description

@rnicholson14

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

Metadata

Metadata

Assignees

Labels

Data FactoryMgmtThis issue is related to a management package.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions