Reputation: 442
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:
Upvotes: 2
Views: 2060
Reputation: 23
As suggested in the comment you can use preserve Attributes which is in the settings of the copy activity.
Upvotes: 0