Closed bijlm closed 9 months ago
Hey @bijlm, for -Verbose
, you could pass the -Force
flag with the command and that should get rid of prompts. For -Debug
, there is no way currently to not run that interactively.
What sorts of information are you trying to extract from the output that is only available in -Verbose
or -Debug
?
Yes, you're right, I was sure I tried that... apparently not. Thanks.
Describe the bug When I start a deployment from a Azure Devops pipeline with debug or verbose enabled the pipeline exits with 'PowerShell is in NonInteractive mode. Read and Prompt functionality is not available.'
To Reproduce Steps to reproduce the behavior:
As soon as I add Verbose = $true or Debug = $true to the hashtable
Expected behavior I would expect a debug or verbose output during the task. This is something useful in a New-AzResourceGroupDeployment task.
Repro Environment Host OS: Windows Powershell Version: 7.4.0 AzurePowerShell (5.231.0) Az.Resources 6.12.1 Az.Accounts 2.13.2