-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Azure File Copy Task (Version 6) is breaking on pipeline using Self hosted agent with error 'The term 'azcopy' is not recognized. #20003
Comments
Hi @Varaprasad91 |
error logs1.txt |
Hi @Varaprasad91 |
Hi, @v-snalawade |
We are already investigating on this issue. Will share the latest updates here. |
@tomaeda - Can you check if this suggestion resolves the issue |
Thank you for your response. @v-schhabra @v-snalawade |
If it is fine for you please share the logs at v-schhabra@microsoft.com |
I can't upload the logs I'm looking at. I'm trying to reproduce it in my environment so that I can provide the logs, but unfortunately for now I keep failing to reproduce. |
#20117 |
New issue checklist
Task name
Azure file copy
Task version
6.241.0
Issue Description
We recently upgraded the Azure DevOps (ADO) service connection from using an Azure Resource Manager service principal (automatic) to Azure Resource Manager using Workload Identity federation with OpenID Connect (automatic). But, we got an issue with Azure file copy task (Task version 6) when running it on pipeline with self-hosted agent. The error message received was: 'The term 'azcopy' is not recognized as the name of a cmdlet, function, script file, or operable program. Please check the spelling of the name, or verify that the path is correct and try again.' Also, the task works correctly when using an Azure agent, but fails on the self-hosted agent.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
windows
Relevant log output
Full task logs with system.debug enabled
Repro steps
No response
Tasks
The text was updated successfully, but these errors were encountered: