-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Az storage blob copy start failed #9995
Comments
C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy>az storage blob copy start --account-key d+LndZKnWuMkPpPBSakB99GcKVlzV/Nlg2JETapPtsCNP1AjVBZ+DHFMANNUqc8MEUwX12k5nV99JnS0SmgIAA== --account-name sasneuprdarch01 --destination-blob vm-archive --destination-container WEB-AZu-002 --source-uri https://md-z1jtvlgqwlxw.blob.core.windows.net/421tblncdgxg/abcd?sv=2017-04-17 You do not have the required permissions needed to perform this operation. If you want to use the old authentication method and allow querying for the right account key, please use the "--auth-mode" parameter and "key" value. The command failed with an unexpected error. Here is the traceback: 'CommandResultItem' object is not iterable To open an issue, please run: 'az feedback' I am one of the administrator in my Azure subscription, still I am unable to execute**** |
@Sridhart97 or anyone else with sufficient rights: |
Please confirm you have the read permission for source resource https://md-z1jtvlgqwlxw.blob.core.windows.net/421tblncdgxg/abcd?sv=2017-04-17. In addition, the string behind ? should be a valid sas token for resource https://md-z1jtvlgqwlxw.blob.core.windows.net/421tblncdgxg/abcd. |
Also note that please check firewall setting. |
@Sridhart97 What about your problem now? |
@Sridhart97 was your issue resolved ? |
I'm getting the same issues with
|
@Juliehzl please help with this issue. |
Please try with azure cli 2.0.77. It can throw correct error message for your operation and check your command according to error message. Hope it can help you and I will close it now. If you still have problems, feel free to create a new one. |
So I hit this and switched to This is actually happening when trying to create a container. The bit of the script in question looks like:
There is something odd happening here. Thanks. |
Using --debug, get:
So:
Given I am running this all at once, not sure how this can be an issue. |
Believed root cause: microsoft/WSL#4245 |
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az storage blob copy start
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az storage blob copy start --verbose --account-key {} --account-name {} --destination-blob {} --destination-container {} --source-uri {}
Expected Behavior
Environment Summary
Additional Context
+++++++++++++++++++++++++++++ENVIORNMENT+++++++++++++++
C:\Sridhar>az --version
azure-cli 2.0.69
command-modules-nspkg 2.0.3
core 2.0.69
nspkg 3.0.4
telemetry 1.0.3
The text was updated successfully, but these errors were encountered: