AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

Unable to retrieve child resources

Open Amit-Pathak-AGL opened this issue 1 month ago • 1 comments

Storage Explorer Version

1.40.2

Regression From

No response

Architecture

x64

Storage Explorer Build Number

20251101.1

Platform

Windows

OS Version

No response

Bug Description

Unable to retrieve child resources

ProducerError:{ "name": "RestError", "message": "This request is not authorized to perform this operation.\nRequestId:318262f5-701a-003e-3242-65cb5b000000\nTime:2025-12-04T17:25:23.3500683Z", "stack": "RestError: This request is not authorized to perform this operation.\nRequestId:318262f5-701a-003e-3242-65cb5b000000\nTime:2025-12-04T17:25:23.3500683Z\n at new RestError (C:\Program Files\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:81:7086)\n at handleErrorResponse (C:\Program Files\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:84:20328)\n at deserializeResponseBody (C:\Program Files\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:84:19150)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.sendRequest (C:\Program Files\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:84:36574)\n at async v3.sendRequest (C:\Program Files\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:98:179825)\n at async Object.sendRequest (C:\Program Files\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:84:36684)\n at async sd.sendOperationRequest (C:\Program Files\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:84:29623)\n at async sd.sendOperationRequest (C:\Program Files\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:84:36166)\n at async C:\Program Files\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:98:178066", "code": "AuthorizationFailure", "statusCode": 403, "request": { "url": "https://sapstoragestindwes.file.core.windows.net/?sv=2024-11-04&ss=bf&srt=sco&sp=rwdlactfx&se=2026-01-31T20:06:45Z&st=2025-12-02T11:51:45Z&spr=https&sig=AzureSAS Token Redacted&comp=list", "headers": { "x-ms-version": "2025-05-05", "accept": "application/xml", "user-agent": "Microsoft Azure Storage Explorer/1.40.2 (win32) azsdk-js-azure-storage-blob/12.28.0 core-rest-pipeline/1.20.0 Node/22.19.0 OS/(x64-Windows_NT-10.0.26100)", "x-ms-client-request-id": "38134682-94fe-42af-ac23-6b50835c066a" }, "method": "GET", "timeout": 0, "disableKeepAlive": false, "streamResponseStatusCodes": {}, "withCredentials": false, "requestId": "38134682-94fe-42af-ac23-6b50835c066a", "allowInsecureConnection": true, "enableBrowserStreams": false, "tracingOptions": { "tracingContext": { "_contextMap": {} } } }, "response": { "request": { "url": "https://sapstoragestindwes.file.core.windows.net/?sv=2024-11-04&ss=bf&srt=sco&sp=rwdlactfx&se=2026-01-31T20:06:45Z&st=2025-12-02T11:51:45Z&spr=https&sig=AzureSAS Token Redacted&comp=list", "headers": { "x-ms-version": "2025-05-05", "accept": "application/xml", "user-agent": "Microsoft Azure Storage Explorer/1.40.2 (win32) azsdk-js-azure-storage-blob/12.28.0 core-rest-pipeline/1.20.0 Node/22.19.0 OS/(x64-Windows_NT-10.0.26100)", "x-ms-client-request-id": "38134682-94fe-42af-ac23-6b50835c066a" }, "method": "GET", "timeout": 0, "disableKeepAlive": false, "streamResponseStatusCodes": {}, "withCredentials": false, "requestId": "38134682-94fe-42af-ac23-6b50835c066a", "allowInsecureConnection": true, "enableBrowserStreams": false, "tracingOptions": { "tracingContext": { "_contextMap": {} } } }, "status": 403, "headers": { "content-length": "246", "content-type": "application/xml", "date": "Thu, 04 Dec 2025 17:25:23 GMT", "server": "Microsoft-HTTPAPI/2.0", "x-ms-client-request-id": "38134682-94fe-42af-ac23-6b50835c066a", "x-ms-error-code": "AuthorizationFailure", "x-ms-request-id": "318262f5-701a-003e-3242-65cb5b000000" }, "bodyAsText": "<Error><Code>AuthorizationFailure</Code><Message>This request is not authorized to perform this operation.\nRequestId:318262f5-701a-003e-3242-65cb5b000000\nTime:2025-12-04T17:25:23.3500683Z</Message></Error>", "parsedBody": { "message": "This request is not authorized to perform this operation.\nRequestId:318262f5-701a-003e-3242-65cb5b000000\nTime:2025-12-04T17:25:23.3500683Z", "code": "AuthorizationFailure" }, "parsedHeaders": { "errorCode": "AuthorizationFailure", "content-length": "246", "content-type": "application/xml", "date": "Thu, 04 Dec 2025 17:25:23 GMT", "server": "Microsoft-HTTPAPI/2.0", "x-ms-client-request-id": "38134682-94fe-42af-ac23-6b50835c066a", "x-ms-request-id": "318262f5-701a-003e-3242-65cb5b000000" } }, "details": { "errorCode": "AuthorizationFailure", "content-length": "246", "content-type": "application/xml", "date": "Thu, 04 Dec 2025 17:25:23 GMT", "server": "Microsoft-HTTPAPI/2.0", "x-ms-client-request-id": "38134682-94fe-42af-ac23-6b50835c066a", "x-ms-request-id": "318262f5-701a-003e-3242-65cb5b000000", "message": "This request is not authorized to perform this operation.\nRequestId:318262f5-701a-003e-3242-65cb5b000000\nTime:2025-12-04T17:25:23.3500683Z", "code": "AuthorizationFailure" } }

Resource Types

No response

Authentication Method

Shared access signature (SAS)

Connection Type

None

Steps to Reproduce

  1. Expand child node

Actual Experience

Cant open the child nodes

Expected Experience

No response

Additional Context

No response

Amit-Pathak-AGL avatar Dec 04 '25 17:12 Amit-Pathak-AGL

@Amit-Pathak-AGL

  • How did you get your SAS? Was it given you, or did you generate it yourself? If generated, what did you use to generate it?
  • Can you be more specific about the steps you followed to reproduce? Were you trying to expand a File Shares node under the attached storage account to see file shares in the account?
  • Does the same error occur if you try to expand Blob Containers?
  • The SAS appears to be based on the storage account key. Does your storage account allow key-based authentication?

craxal avatar Dec 04 '25 22:12 craxal