When we issued the following command: az storage blob upload-batch -s . -d \$web --account-name <storage account name>
... we got this error message: The requested URI does not represent any resource on the server. ErrorCode: InvalidUri
What are we doing wrong?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@swinghouse Thanks for the Comment. We are actively investigating and will get back to you soon.
@swinghouse The command in the tutorial seems to be for bash, hence the \$web
but in CMD/PowerShell, you would have to run it as
az storage blob upload-batch -s . -d $web --account-name <storage account name>
@swinghouse Just following up here... Hope my previous comment clears things up.
@swinghouse Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
@PramodValavala-MSFT when I run I adjusted my command to az storage blob upload-batch -s dist -d $web --account-name <storage account name>
but I get a different error az storage blob upload-batch: error: argument --destination/-d: expected one argument
I am using powershell, trying to upload a relative ./dist folder in the current local directory on a Windows 10 PC.
Use single quotes around the storage name - '$web'
Most helpful comment
Use single quotes around the storage name -
'$web'