Azure-docs: The requested URI does not represent any resource on the server. ErrorCode: InvalidUri

Created on 5 Apr 2019  Â·  6Comments  Â·  Source: MicrosoftDocs/azure-docs

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?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

cxp multiplsvc product-issue triaged

Most helpful comment

Use single quotes around the storage name - '$web'

All 6 comments

@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'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bityob picture bityob  Â·  3Comments

bdcoder2 picture bdcoder2  Â·  3Comments

Favna picture Favna  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

Ponant picture Ponant  Â·  3Comments