Closed jloehr closed 5 months ago
@jloehr Could you please share us the detail logs of the pipeline by adding variable system.debug to "true".
I already included the detailed logs of the task in my original post. See Full task logs with system.debug enabled and expand Details. Do you need any additional logs?
@jloehr Sorry, I missed to check that. For now we dont need any other information. Will post it here if we need more details.
@jloehr Could you pls update the version of Az.Accounts module to 3.0.0?
Updating Az
/ AzurePS
to 3.0.0 did fix the issue. Can you go ahead and fix the requirement for the task in the documentation?
Updating
Az
/AzurePS
to 3.0.0 did fix the issue. Can you go ahead and fix the requirement for the task in the documentation?
Sure, will check and fix.
New issue checklist
Task name
AzureFileCopy@6
Task version
6.240.8
Issue Description
The tasks
AzureFileCopy@6
failed on our self-hosted CI machine with the following error:".ctor" with "3" argument(s): "Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'."
From the task documentation the only requirement is to have Azure PowerShell v1.0.2 or higher and an agent version of 1.103.0 or higher installed on the machine. Both are met (AZ v 9.8.0 and agent version 3.240.1).The task does work on a Microsoft hosted agent with the same agent version.
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 10 Enterprise & Windows 11 Enterprise
Relevant log output
Full task logs with system.debug enabled
Repro steps
No response