az storage blob copy start-batch cannot copy blob files stored within ADLS Gen2 directories
- 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
**Command Name**
`az storage blob copy start-batch`
**Errors:**
```
Failed to copy blob logtest/yicyu-param-test-2.openapi.yaml to container layeredtest.
Client-Request-ID=acf84c2e-9f75-11ec-99b4-00155d101f92 Retry policy did not allow for a retry: Server-Timestamp=Wed, 09 Mar 2022 06:53:50 GMT, Server-Request-ID=f6c06904-301e-0103-0782-3301df000000, HTTP status code=409, Exception=The requested operation is not allowed in the current state of the entity. ErrorCode: OperationNotAllowedInCurrentStateOperationNotAllowedInCurrentStateThe requested operation is not allowed in the current state of the entity.RequestId:f6c06904-301e-0103-0782-3301df000000Time:2022-03-09T06:53:50.9062684Z.
```
## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- _Put any pre-requisite steps here..._
- `az storage blob copy start-batch --connection-string {} --destination-container {} --destination-path {} --source-account-name {} --source-account-key {} --source-container {} --pattern {}`
## Expected Behavior
## Environment Summary
```
Linux-5.10.60.1-microsoft-standard-WSL2-x86_64-with-debian-bullseye-sid, Ubuntu 20.04.3 LTS
Python 3.6.10
Installer: DEB
azure-cli 2.33.1 *
Extensions:
storage-preview 0.8.0
Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.