Skip to content

[REGRESSION]: Variables output (StorageContainerUri and StorageContainerSasToken) unavailable for TFVC #21142

@FranckSix

Description

@FranckSix

New issue checklist

Task name

AzureFileCopy@5

Breaking task version

5

Last working task version

3

Regression Description

In version 3 Task offer two output

    "outputStorageUri": "SasUri",
    "outputStorageContainerSasToken": "SasToken",

And I can use this variable like this in subsequent tasks:

$(SasUri)
$(SasToken)

But with version 5 is no longer available. It seem I must to name may task in YAML to retrieve value like :

$([taskName].StorageContainerUri)"
$([tskName].StorageContainerSasToken)"

But you forgot something... For people like me under TFVC Yaml is not available. We are stuck with the UI Version of Pipeline that not expose the task name. Result SasToken and ContainerUri was lost forever :-(

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

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

Azure DevOps Server type

Azure DevOps Server (Please specify exact version in the textbox below)

Azure DevOps Server Version (if applicable)

AzureDevopsServer_20250331.1

Operation system

Windows Server 2022

Relevant log output

2025-07-10T15:12:45.8483093Z Création des paramètres de déploiement.
2025-07-10T15:12:45.8851149Z ##[error]Consultez le guide de résolution des problèmes pour voir si votre problème y est traité : https://docs.microsoft.com/fr-fr/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment?view=azure-devops#troubleshooting
2025-07-10T15:12:45.8852470Z ##[error]Échec du téléchargement du fichier. URL : 'https://mystorage.blob.core.windows.net/arm/parameters.json?$(SasToken)'. Erreur : 404: The specified resource does not exist.

Full task logs with system.debug enabled

UNSUCCESSFUL RUN
 [REPLACE THIS WITH YOUR INFORMATION] 
SUCCESSFUL RUN
 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

If Microsoft truly aims to encourage users to migrate toward YAML pipelines, it would make sense to provide a smoother transition from the classic UI — or at the very least, offer clearer documentation on the limitations currently affecting task outputs and variable accessibility.

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