Skip to content

[Storage - File Datalake] SAS generation Node.js only for delegation SAS GenerateUserDelegationSAS should work with agentObjectId failing in nightly runs #20012

Closed

Description

Storage - File Datalake nightly test runs are failing with:

Error message:
This request is not authorized to perform this operation using this permission. RequestId:83a77632-201f-0090-4580-0eabec000000 Time:2022-01-21T04:35:23.3448384Z

Stack trace:
RestError: This request is not authorized to perform this operation using this permission.
RequestId:83a77632-201f-0090-4580-0eabec000000
Time:2022-01-21T04:35:23.3448384Z
at handleErrorResponse (D:\a_work\1\s\sdk\core\core-http\src\policies\deserializationPolicy.ts:274:17)
at D:\a_work\1\s\sdk\core\core-http\src\policies\deserializationPolicy.ts:179:47
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at StorageRetryPolicy.attemptSendRequest (D:\a_work\1\s\sdk\storage\storage-file-datalake\src\policies\StorageRetryPolicy.ts:52:54)
at TracingPolicy.sendRequest (D:\a_work\1\s\sdk\core\core-http\src\policies\tracingPolicy.ts:77:24)
at StorageClientContext.sendOperationRequest (D:\a_work\1\s\sdk\core\core-http\src\serviceClient.ts:521:23)
at DataLakeFileClient.create (D:\a_work\1\s\sdk\storage\storage-file-datalake\src\clients.ts:264:75)
at DataLakeFileClient.createIfNotExists (D:\a_work\1\s\sdk\storage\storage-file-datalake\dist-esm\storage-file-datalake\src\clients.js:51:359)
at DataLakeFileClient.createIfNotExists (D:\a_work\1\s\sdk\storage\storage-file-datalake\src\clients.ts:327:87)
at Context. (D:\a_work\1\s\sdk\storage\storage-file-datalake\test\node\sas.spec.ts:1337:5)

For more details check here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Data Lake Storage Gen2StorageStorage Service (Queues, Blobs, Files)test-reliabilityIssue that causes tests to be unreliable

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions