Azure / Azure/azure-powershell

[Doc]: Get-AzDataFactoryPipeline is using the old API from 2015

Open
#26,640 5 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad customer-reported Data Factory Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Type of issue

Code doesn't work

### Feedback

Today I tried to use the command `Get-AzDataFactoryPipeline`.

**Steps to Reproduce:**

1. run `connect-AzAccount`
2. run `Get-AzDataFactoryPipeline -ResourceGroupName "ADF" -DataFactoryName "WikiADF"`
3. I receive the error:

```
Get-AzDataFactoryPipeline: HTTP Status Code: NotFound
Error Code: InvalidResourceType
Error Message: The resource type could not be found in the namespace 'Microsoft.DataFactory' for api version '2015-10-01'.
Request Id: 36589066-f78f-4410-8895-78f2f1f666e9
Timestamp (Utc):11/08/2024 10:49:13
```

![Image](https://github.com/user-attachments/assets/2e6f30d0-50c8-4f03-b2c4-b3c47754f7d7)

It's using an API version dating back 2015.
Is that alright?

**Troubleshooting:**

I run `Update-Module -Name Az -Force` to update the Azure CLI .
Still the same error.

### Page URL

https://learn.microsoft.com/en-us/powershell/module/az.datafactory/get-azdatafactorypipeline?view=azps-12.4.0&tryIt=true&source=docs#code-try-2

### Content source URL

https://github.com/Azure/azure-powershell/blob/main/src/DataFactory/DataFactory/help/Get-AzDataFactoryPipeline.md

### Author

@mikefrobbins

### Document Id

bafef9f9-a1e5-fc7b-843f-cfccb632f4df

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.