issueatlas · · Reply permalink
The task team shipped a fix for this in the AzureFileCopy task itself (deployed to all rings): make sure you are on a task version newer than the one referenced in the fix PR. If you cannot pick up the new task version, pin the Az.Accounts PowerShell module to a pre-5.x version on the agent as a workaround.
Source: https://github.com/microsoft/azure-pipelines-tasks/issues/21053
Source: https://github.com/microsoft/azure-pipelines-tasks/issues/21053