Skip to content

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

Description

@sima-zhu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions