Upload to container: '$web' in storage account: 'knockfashionretailer' with blob prefix: '' failed with error

Malyadri Reddy kypu 0 Reputation points
2025-03-27T08:00:02.3433333+00:00

Issue Description

Log:
2025-03-26T11:44:42.9146612Z ##[error]Upload to container: '$web' in storage account: 'knockfashionretailer' with blob prefix: '' failed with error: 'AzCopy.exe exited with non-zero exit code while uploading files to blob storage.' For more info please refer to https://aka.ms/azurefilecopyreadme

I am trying to upload my static web site files in $web blob container in azure storage .

if I am using below configuration, it would be success.

steps:

  • task: AzureFileCopy@3 displayName: 'AzureBlob File Copy' inputs: SourcePath: '$(System.DefaultWorkingDirectory)/_retailer-web-ui-knockFashion/drop' azureSubscription: 'GFT-NEW' Destination: AzureBlob storage: knockfashionretailer ContainerName: '"$web"'

Image

if I am using upgraded version build will be failed.

steps:

  • task: AzureFileCopy@6 displayName: 'AzureBlob File Copy' inputs: SourcePath: '$(System.DefaultWorkingDirectory)/_retailer-web-ui-knockFashion/drop' azureSubscription: 'GFT-NEW' Destination: AzureBlob storage: knockfashionretailer ContainerName: '"$web"'

Image

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,141 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.