I have a Data factory pipeline that copies data from one container to another (ADLS Gen 2 for both). I am using the Copy activity with the following settings:
Source settings & Sink settings
In the source the Content-Type is correctly set to application/json. However, when the data is copied to the sink, the Content-Type is changed to application/octet-stream. This causes some trouble when for instance reading the blob in a Logic App as it expects the type to be json. I do not find anywhere to send in the Content-Type in the Copy activity.
Any suggestions?
Edit:
As I am using a JSON dataset and copying between two blob containers (ADLS Gen 2), I do not seem to have the "preserve" option as you can see in this screenshot below:
"preserve": ["Attributes"]
as MSDN shows. - Steve ZhaoPreserve
option in Setting. You can click{}
button and directly add it to your script code. Maybe it can work. - Steve Zhao