azure-storage-azcopy: The latest version does not work for local file - blob (using SAS)

Which version of the AzCopy was used?

Note: The version is visible when running AzCopy without any argument

10.3.0

Which platform are you using? (ex: Windows, Mac, Linux)

Windows

What command did you run?

Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
copy .\test.txt https://numberseus.blob.core.windows.net/builds/1.0.11399/ChromeTests.7z?api-version=2016-05-31&si=upload-builds&sig=-REDACTED-&sr=c&sv=2014-02-14 

What problem was encountered?

403 This request is not authorized to perform this operation using this permission.

How can we reproduce the problem in the simplest way?

Generate a container SAS, and try to upload a file. This does not work. This worked on version 10.2.1 (which I have locally and can confirm)

Have you found a mitigation/solution?

I will use 10.2.1 until this is resolved.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 20 (11 by maintainers)

Most upvoted comments

@adreed-msft My team and I ran into this issue on linux as well. It seems to me that the default shouldn’t be true since this can be a breaking change for users that don’t require ‘read’ permissions. In the next major version bump it feels like it would be appropriate for this change to occur. I guess it depends on how closely you are following semantic versioning.

You’re welcome! I’ll keep this issue open and tag it as logging related.

@zezha-msft I’m going to mark this assigned to you, since you’ve replied above, but please bounce it back to me if you don’t have time.