[BUG]: Azure PowerShell task fails with Exception calling ".ctor" with "3" argument(s): "Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'." #20707
Labels
New issue checklist
Task name
AzurePowerShell
Task version
5
Issue Description
The Azure PowerShell task is failing with the following error:
Exception calling ".ctor" with "3" argument(s): "Method not found: 'Newtonsoft.Json.JsonSerializerSettings System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.get_SerializerSettings()'."
.The error happened after I have switched my Azure service connection from service principal (manual) to workload identity federation (manual).
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
tasklog_9.log
Repro steps
The text was updated successfully, but these errors were encountered: