azure-pipelines-tasks: [BUG]: 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.

New issue checklist

Task name

AzureBlob File Copy

Task version

: 6.252.0

Issue Description

A bug happened!

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

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows Latest

Relevant log output

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

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps


About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

@v-schhabra

I scheduled meeting at 12PM today, could you please join

I am the administrator of subscription and having proper access

On Thu, Apr 3, 2025, 10:20 v-schhabra @.***> wrote:

And did you provide “blob data contributor” access to your storage account?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/azure-pipelines-tasks/issues/20950#issuecomment-2774486680, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW3XO2R4DOFPLOEGHOYWFGT2XS4YDAVCNFSM6AAAAABZ2DWMOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZUGQ4DMNRYGA . You are receiving this because you were mentioned.Message ID: @.***> [image: v-schhabra]v-schhabra left a comment (microsoft/azure-pipelines-tasks#20950) https://github.com/microsoft/azure-pipelines-tasks/issues/20950#issuecomment-2774486680

And did you provide “blob data contributor” access to your storage account?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/azure-pipelines-tasks/issues/20950#issuecomment-2774486680, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW3XO2R4DOFPLOEGHOYWFGT2XS4YDAVCNFSM6AAAAABZ2DWMOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZUGQ4DMNRYGA . You are receiving this because you were mentioned.Message ID: @.***>

ReleaseLogs_2710.zip

@v-schhabra please check release logs of my release pipeline