Skip to content

az copy blob using sas token still broken #32692

@TimurSadykov

Description

@TimurSadykov

Describe the bug

The problem is that if using Windows cmd, default double quotes will not work.

The issue was filed before: #30509

It provided a workaround with single quotes around double quotes, but it is still a bug and takes hours to figure out.

Please fix.

Related command

az blob copy start

Errors

failed to perform copy command due to error: Login Credentials missing. No SAS token or OAuth token is present and the resource is not public
Failed to perform copy operation.
'sktid' is not recognized as an internal or external command,
operable program or batch file.
'skt' is not recognized as an internal or external command,
operable program or batch file.
'ske' is not recognized as an internal or external command,
operable program or batch file.
'sks' is not recognized as an internal or external command,
operable program or batch file.

Issue script & Debug output

No additional debug output besides the error message

Expected behavior

Expected to copy the files from source to destination

Environment Summary

azure-cli 2.67.0

core 2.67.0
telemetry 1.1.0

Extensions:
load 1.4.0 (dev) C:\Workspace\Github\azure-cli-extensions\src\load

Dependencies:
msal 1.31.0
azure-mgmt-resource 23.1.1

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\mbhardwaj.azure\cliextensions'
Development extension sources:
C:\Workspace\Github\azure-cli-extensions

Python (Windows) 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]

Additional context

No response

Metadata

Metadata

Assignees

Labels

Auto-ResolveAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamLanguagePossible-SolutionSimilar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions