Skip to content

Invoke-AzDataFactoryV2Pipeline actually runs the pipeline when using the -WhatIf switch #13231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bergmeister opened this issue Oct 15, 2020 · 9 comments
Labels
customer-reported Data Factory question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.

Comments

@bergmeister
Copy link
Contributor

Description

Steps to reproduce

Invoke-AzDataFactoryV2Pipeline -ResourceGroupName $ResourceGroupName  -DataFactoryName $DataFactoryName -PipelineName $PipelineName -WhatIf

Environment data

Name                           Value
----                           -----
PSVersion                      7.0.3
PSEdition                      Core
GitCommitId                    7.0.3
OS                             Microsoft Windows 10.0.19041
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

Az.DataFactory 10.0.2 from Az 4.8.0

Error output

NA

@ghost ghost added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported labels Oct 15, 2020
@dingmeng-xue dingmeng-xue added Data Factory Service Attention This issue is responsible by Azure service team. and removed triage labels Oct 18, 2020
@ghost
Copy link

ghost commented Oct 18, 2020

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @shawnxzq, @lmy269.

@dingmeng-xue
Copy link
Member

Service team, please help to look into this question.

@shawnxzq
Copy link
Member

@LijuanZ Could you please look into this? Thanks a lot!

@shawnxzq
Copy link
Member

@bergmeister ADF doesn't support the "-WhatIf" switch yet, we will try to add the support later, thanks for the feedback.

@bergmeister
Copy link
Contributor Author

You missed the point: That ADF cmdlet already wrongly declares support for WhatIf but does not implement it, which is a severe bug. At the minimum you need to turn the WhatIf option for that cmdlet off right now by setting SupportsShouldProcess=false in that cmdlet.

@shawnxzq
Copy link
Member

shawnxzq commented Nov 23, 2020

@bergmeister Yes, we will firstly disable it if possible and then try to add the support ASAP, thanks for the further comment on this.

@shawnxzq
Copy link
Member

@bergmeister We already coded the fix, but it needs to wait for the next PS release train which is scheduled 12/29, you will get the fix soon, thanks for you patience on this.

@bergmeister
Copy link
Contributor Author

Thanks :)

@shawnxzq
Copy link
Member

Issue fixed, close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Data Factory question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants