Hello @King Java,
I have reproduced the above scenario and got the similar error.
The above kind of error occurs when you gave wrong folder name. Please cross-check your folder path in the dataset.
I am wondering how to express wildcard character here.
ADF does support the Dynamic expressions in the wild card file path in the copy activity and lookup activity.
Here is how you can do it.
These are my sample files in File storage similar to you.
In the dataset, select till the file storage name.
For copy or lookup activity, you can select the wild card file path and give your expression in the file name. And give your folder name if you need.
For sample, I have used lookup activity.
@concat('Allision_',formatdatetime(adddays(utcnow(),0),'yyyy-MM-dd'),'*','.csv')
After the execution of the pipeline, it will extract the data of all the files which have the file name starts with Allision_<yyyy-MM-dd>*.csv
.
You can confirm the generated wildcard file in the input of the activity.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.