Datafactory does not return the correct folder
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62
**Related command**
`az datafactory pipeline show`
`az datafactory pipeline list`
**Describe the bug**
Both commands above do not return the correct folder for pipelines.
**To Reproduce**
Consider ADF "A"
With folder "F"
With pipeline "P" in folder F.
If you look at the P's JSON representation in the ADF's UI, you will see it has the folder's data:
```
{
"name": "P",
"properties": {
...
"folder": {
"name": "F"
},
...
}
```
But, when you use either of the two commands you will not get that folder name, instead it has `nameFolderName` with P's name
```
{
...
"name": "P",
"nameFolderName": "P",
...
}
```
**Expected behavior**
Correctly get that folder name,
```
{
...
"name": "P",
"nameFolderName": "F",
...
}
```
**Environment summary**
```azure-cli 2.14.0 *
core 2.14.0 *
telemetry 1.0.6
Extensions:
azure-devops 0.18.0
datafactory 0.2.1
```
**Additional context**
I have a screenshot showing this flow, but I don't want to post it publicly.
Contributor guide
Assessment
This issue has not been assessed yet.