Skip to content
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

[Bug] Account SAS does not work on Object level client auth #6542

Closed
sima-zhu opened this issue Nov 25, 2019 · 0 comments · Fixed by #6601
Closed

[Bug] Account SAS does not work on Object level client auth #6542

sima-zhu opened this issue Nov 25, 2019 · 0 comments · Fixed by #6601
Labels
Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)

Comments

@sima-zhu
Copy link
Contributor

sima-zhu commented Nov 25, 2019

Summary:
When we use endpoint with SAS token to build the client, there is an exception thrown indicating authentication failure.

Reproduce:
Run FileSamples, ShareSamples etc,

Exceptions:

Failed to create snapshot on share. Reasons: Status code 403, "<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:62117598-401a-004e-3ddf-a30a77000000
Time:2019-11-25T22:26:27.2670708Z</Message><AuthenticationErrorDetail>sr is mandatory. Cannot be empty</AuthenticationErrorDetail></Error>"

Expect:
No exception thrown and add test coverage on this.

@sima-zhu sima-zhu added Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files) labels Nov 25, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant