Note: I created a azure devops service connection with WorkloadIdentityFederation.
Error as follows:
##[error]Upload to container: 'sample' in storage account: 'sampleBlob' with blob prefix: 'sample.yaml' failed with error: 'Unsupported authentication scheme 'WorkloadIdentityFederation' for endpoint.' For more info please refer to https://aka.ms/azurefilecopyreadme
Yes, the Azure file copy task does not support Azure Resource Manager authentication with workflow identity federation. This has explicitly stated in the documentation of the task. See "Azure file copy task".
You might need to create an ARM service connection with service principal that can be available for the Azure file copy task.