Azure / Azure/azure-cli

Monitoring data factory pipeline runs using "az datafactory pipeline-run query-by-factory" not working as expected, and missing pipeline runs?

Open
#22,733 1 comment 0 reactions 1 assignee Claimed by @evelyn-ys View on GitHub
act-codegen-extensibility-squad Auto-Assign customer-reported Data Factory feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

[The following command doesn't work correctly :
` az datafactory pipeline-run query-by-factory --factory-name XXXXX --last-updated-after $last_updated_after --last-updated-before $last-updated-before --resource-group XXXXX
`
I encountered the following issues:

1/ I am not able to get pipeline runs that occured less than two hours ago
(Even though my pipelines are running every 10 minutes, everyday and I can see the pipeline runs on Azure data factory UX).

2/ No matter what date is defined for the option last-updated-before, only a fraction of the pipeline runs that started at or after last-updated-after are returned.
Example : last-updated-after = "2022-06-01T20:36:45.859989" => I only get pipeline runs with run start from this time to "2022-06-01T22:58:17.115499+00:00", I don't get the runs that happened after that.

]

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: bb16e30c-bfd2-e67d-5df7-6b83dc23f82d
* Version Independent ID: 0bd3e41c-94df-d4bd-d0ed-f6fe9be37992
* Content: [az datafactory pipeline-run](https://docs.microsoft.com/en-us/cli/azure/datafactory/pipeline-run?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/datafactory/pipeline-run.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/datafactory/pipeline-run.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.