Azure / Azure/azure-cli

az extension datafactory 0.7.0 is broken for working with pipelines

Open
#24,541 5 comments 2 reactions 1 assignee Assigned to @evelyn-ys View on GitHub
act-codegen-extensibility-squad Auto-Assign customer-reported Data Factory Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

If you install the latest az datafactory extension (0.7.0), then run az datafactory pipeline list --factoryname blah --resource-group rg-blah throws an internal error after 10+ seconds. If you run with --debug, you can see it does pull down the json, but errors out

If you uninstall it, then install az extension add --name datafactory --version 0.6.0

it works.

---
#### Document Details

az datafactory pipeline list --factory-name blah --resource-group rg-blah
(InternalError) Internal error has occurred.
Code: InternalError
Message: Internal error has occurred.

all other az datafactory pipeline stuff also fails.

If you run same command but with --debug, you can see can see it actually fetch the json results, but then has a 'This request has no body several times, and a few {"error":{"code":"InternalError","message":"Internal error has occurred.","target":null,"details":null}} errors.

Rolling back to 0.6.0, it works.
az extension remove --name datafactory
az extension add --name datafactory --version 0.6.0
az datafactory pipeline list --factory-name blah --resource-group rg-blah
gives me json info about the pipelines.

0.7.0 is broken for datafactory pipeline commands. all other datafactory resources work (trigger, dataset, etc.)

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

* ID: da110bf9-e979-a0fd-65b0-55ac6cae2077
* Version Independent ID: d2a9d97c-07f7-108c-06cd-8913c89bd041
* Content: [az datafactory](https://learn.microsoft.com/en-us/cli/azure/datafactory?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/datafactory.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/datafactory.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.