az storage-blob upload batch fails yet exitcode 0
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### **This is autogenerated. Please review and update as needed.**
## Describe the bug
As described in #21477
`az storage blob upload-batch` gives errors when blob already exists and `--overwrite` is absent.
Yet the exitcode is still `0` indicating `success`. Someone might not pick up on these errors.
**Command Name**
`az storage blob upload-batch`
**Errors:**


## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- `az storage blob upload-batch --account-key {} -s {} -d {} --account-name {}`
- `az storage blob upload-batch --account-key {} -s {} -d {} --account-name {}`
- `$LASTEXITCODE`
## Expected Behavior
exitcode != 0
## Environment Summary
```
Windows-10-10.0.19043-SP0
Python 3.10.4
Installer: MSI
azure-cli 2.37.0
Extensions:
account 0.2.2
application-insights 0.1.16
azure-devops 0.23.0
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.