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
different actions in 20220227.1 azure-cli 2.33.1 and 20220306.1 azure-cli 2.34.1 #16018
Labels
Comments
|
We also ran into this issue and simply extended our Azure CLI script to check the version. Sure, thats properly not 100% save, but it does work for us. |
|
pscore version: $azversion = az version | ConvertFrom-Json
$overwrite = if ($azversion.'azure-cli' -like "2.33*") { "" } else { "--overwrite" } |
|
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Required Information
Question, Bug, or Feature?
Type: Question
Enter Task Name: Azure CLI@2
Environment
20220227.1 use the azure cli version 2.33.1
20220306.1 use the azure cli version 2.34.1
Issue Description
az storage blob upload-batch
2.34.1 recognized arguments: --overwrite if i don't use overwirte, it will tips me blob exists error.
but the 2.33.1 has the ERROR: unrecognized arguments: --overwrite, if i don't use overwrite, it successfully.
is this are a break change for the default action(overwrite)?
and some Microsoft-Hosted agent are 2.33.1, some Microsoft-Hosted agent are 2.34.1 in 2022/03/10
should i always upgrade az? or just caused by agent are upgrading?
Error logs
2.33.1 has the ERROR: unrecognized arguments: --overwrite
2.34.1 without --overwrite
ERROR: The specified blob already exists.
RequestId:773f41df-f01e-007b-7158-348947000000
Time:2022-03-10T08:27:11.0284194Z
ErrorCode:BlobAlreadyExists
The text was updated successfully, but these errors were encountered: