Skip to content

Job status COMPLETED if actually copying failed #3322

@ramiros-ua

Description

@ramiros-ua

Which version of the AzCopy was used?

Note: The version is visible when running AzCopy without any argument

10.30.1

Which platform are you using? (ex: Windows, Mac, Linux)

Windows Server 2022 Datacenter

What command did you run?

Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.

$Env:AZCOPY_AUTO_LOGIN_TYPE='SPN'
$Env:AZCOPY_SPA_APPLICATION_ID="..."
$Env:AZCOPY_SPA_CLIENT_SECRET="..."
$Env:AZCOPY_TENANT_ID="..."
azcopy copy $blob_url $file_dest

What problem was encountered?

It was nothing copied and returned exit code 0
[2025-12-09T23:37:20.494Z] Total Number of Transfers: 0
[2025-12-09T23:37:20.494Z] Total Number of Bytes Transferred: 0
[2025-12-09T23:37:20.494Z] Final Job Status: Completed

How can we reproduce the problem in the simplest way?

Rarely reproduced

Have you found a mitigation/solution?

Workaround is to add verification
Test-Path $file_dest

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions