How to use SAS Token in Azure File Copy Pipeline Task?

1k Views Asked by At

I am trying to copy ADF ARM templates to a storage account using the Azure File Copy Task in my Azure release pipeline. Since the storage account has firewall and networking set up, I want to use the SAS token to allow the Pipeline agent to copy the files to the storage account.

However, I am not able to find any documentation as to how to pass the SAS token as the optional argument(or at another place). The task version is 2*. How do I use the SAS token for copying the files?

Pipeline Task - File Copy

1

There are 1 best solutions below

0
On BEST ANSWER

I changed the file copy task version to 4*. ; and then I was able to add --sas-token=$(sasToken) into the Optional Arguments and it worked for me.