Azure / azure-cli

Azure Command-Line Interface
MIT License
3.92k stars 2.89k forks source link

az extension datafactory 0.7.0 is broken for working with pipelines #24541

Open marc-gmail-towersap opened 1 year ago

marc-gmail-towersap commented 1 year ago

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.

ghost commented 1 year ago

Thank you for your feedback. This has been routed to the support team for assistance.

yonzhan commented 1 year ago

route to CXP team

vmer-space commented 1 year ago

The same issue is happenning with data-flow list as well

az datafactory data-flow list --factory-name df --resource-group rg

ERROR: (InternalError) Internal error has occurred. Code: InternalError Message: Internal error has occurred.

And this command does not work with 0.6.0 it says "The command requires the latest version of extension datafactory"

davidwinter commented 1 year ago

I'm having the same issue.

$ az version
{
  "azure-cli": "2.50.0",
  "azure-cli-core": "2.50.0",
  "azure-cli-telemetry": "1.0.8",
  "extensions": {
    "datafactory": "0.7.0"
  }
}
davidwinter commented 1 year ago

Can also confirm that this fixes the issue for me for when running az datafactory pipeline list...:

az extension remove --name datafactory
az extension add --name datafactory --version 0.6.0