az feedback auto-generates most of the information requested below, as of CLI version 2.37.0
Unable to automate command az monitor app-insights component update with error ERROR: Unable to prompt for confirmation.
Like other commands, I tried to add --yes argument. but it is not supported.
unrecognized arguments: --yes
Related command
`
az monitor app-insights component update --app "$applicationInsightsName" -g $"$resourceGroupName" --workspace "$logAnalyticsWorkspaceId"
`Describe the bug
trying to update app-insights using Az CLI command using devops
To Reproduce
Run below command
`
az monitor app-insights component update --app "$applicationInsightsName" -g $"$resourceGroupName" --workspace "$logAnalyticsWorkspaceId"
`Expected behavior
below command should work but throwing error unrecognized arguments: --yes
az monitor app-insights component update --app "$applicationInsightsName" \
-g $"$resourceGroupName" --workspace "$logAnalyticsWorkspaceId" --yes
Unable to automate command
az monitor app-insights component updatewith error ERROR: Unable to prompt for confirmation.Like other commands, I tried to add --yes argument. but it is not supported.
unrecognized arguments: --yes
Related command
`
az monitor app-insights component update --app "$applicationInsightsName" -g $"$resourceGroupName" --workspace "$logAnalyticsWorkspaceId"
`Describe the bug
trying to update app-insights using Az CLI command using devops
To Reproduce
Run below command
`
az monitor app-insights component update --app "$applicationInsightsName" -g $"$resourceGroupName" --workspace "$logAnalyticsWorkspaceId"
`Expected behavior
below command should work but throwing error unrecognized arguments: --yes