Set blob properties when using Blob linked Service in Data Factory

Matthew Campbell 1 Reputation point
2022-11-24T14:01:21.057+00:00

CONTENT-TYPE when sinking blobs through the Blob Linked Service is always application/octet-stream. Can blob properties be set during a Copy Data task? If the underlying Linked Service uses the REST API endpoint then headers should be exposed. Only way to circumvent is to generate a Bearer token (see sample) then issue a REST call after each Copy.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,616 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,133 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Matthew Campbell 1 Reputation point
    2022-11-25T13:19:24.137+00:00

    Have a workaround using the Blob REST API to set properties but it would have been more "smooth" doing everything through the Blob DataSet + Linked Service.