Hi Karthik S Gothe ,
Thankyou for using Microsoft Q&A platform and thanks for posting your query here.
As per my understanding , you are encountering an error while executing a pipeline in Azure Data Factory , The Copy Activity is failing with the error message "Failed to convert the value in 'container' property to 'System.String' type .
I suspect that the variable expressions in source dataset are not getting converted properly. Kindly make sure to use 'add dynamic content' option to pass the expression instead of directly writing the expression.
Additionally, Could you please try explicitly converting the values of variables used in source dataset of copy activity into string by using string interpolation or string function.
Simply use @{} curly braces around the variables , making the expressions:
@{variable('containerName')}
, @{variables('sourceFolderPath')}
, and @{variables('fileName')}
For more details, kindly check : https://learn.microsoft.com/en-us/azure/data-factory/control-flow-expression-language-functions#expressions
Hope it helps. Kindly share the json of the pipeline if the above suggestion doesn't help resolve your issue. Please accept the answer in case it was helpful. Thankyou