Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To use the Azure Synapse Copy Activity to save a JSON file to ADLS Gen2 with a content type of application/json, follow these steps:

  1. Create a JSON file that you want to save in ADLS Gen2.
  2. In the Azure Portal, create an Azure Synapse Pipeline that includes a Copy Activity.
  3. In the settings for the Copy Activity, set the following properties:
    • Source: set to the location of the JSON file.
    • Destination: set to the ADLS Gen2 location where you want to save the JSON file.
    • FileFormat: set to JSON.
    • JsonWriteSettings: set to the appropriate JSON settings, including the content type of application/json.
  4. Save and run the pipeline to copy the JSON file to ADLS Gen2 with the specified content type.