-
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]: AzureFileCopyV6 failed copy to azure vm #20416
Comments
This issue doesn't occur with AzureFileCopyV5. |
Hi @tomo-mae1 |
Hey @tomo-mae1 do you use |
Hello, @v-schhabra and @LeftTwixWand |
@tomo-mae1 Yes, If you are using Microsoft hosted windows agent then the agent will have all the modules installed. |
Thank you. If so, I believe the agent machine has Get-AzContext module Installed. |
New issue checklist
Task name
AzureFileCopy
Task version
6.245.1
Issue Description
I'm testing the AzureFileCopyV6 task because I want to copy a file in a repository to a specific folder on an Azure VM.
After resolving some errors, I was blocked by the following error that I don't know how to solve.
Error:
Failed to perform Auto-login: PSContextCredentialGet-AzAccessToken: -REDACTED-;1mRun Connect-AzAccount to login.
I think task was probably using AzCopy.exe twice, but the error occurs the second time.
I installed Azure PowerShell on the target VM, but the issue persisted.
Is this a bug? Or is there something missing in my settings?
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 11
Relevant log output
Full task logs with system.debug enabled
Azure-file-copy-v6.log
Repro steps
The text was updated successfully, but these errors were encountered: