Forum Discussion
LouisT
Dec 10, 2025Copper Contributor
Azure File copy task v4 and later causes 403 error
I've configured a release pipeline in ADO which copies some files to a Storage Account. Using Azure File copy task version 6 consistently fails with a 403 error. RESPONSE Status: 403 This request i...
rogerval
Dec 11, 2025MCT
The 403 behavior in Azure File Copy starting from version 4 is usually related to the switch from the older AzureRM libraries to the newer Az libraries. These later versions enforce RBAC and storage permissions differently.
Version 3 still uses the legacy paths, which is why it works.
Common causes include:
- The service connection not having “Storage Blob Data Contributor” on the target account.
- Azure File Copy v4+ requiring both control-plane and data-plane permissions.
- Storage firewall or private endpoint resolving differently when the Az libraries are used.
If assigning “Storage Blob Data Contributor” to the service connection or pipeline identity fixes the issue, then it is the expected behavior. Otherwise, using v3 is the valid workaround until the pipeline task is updated.