How to export data from Azure SQL data to Excel using ADF?

SatyaJ 25 Reputation points
2025-05-08T19:29:57.57+00:00

Hi - How to export data from Azure SQL data to Excel using ADF. Can someone please suggest optimized approach?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,507 questions
{count} votes

Accepted answer
  1. Chandra Boorla 12,760 Reputation points Microsoft External Staff Moderator
    2025-05-08T19:45:54.2833333+00:00

    @Satya Nataraj Jakkamsetty

    It looks like you want to export data from Azure SQL Database to Excel using Azure Data Factory (ADF). While ADF doesn’t directly support exporting to Excel format (.xlsx), you can achieve this with an optimized approach using CSV format, which Excel can easily open.

    User's image

    For additional information, please refer: Excel file format in Azure Data Factory and Azure Synapse Analytics

    Optimized Approach - Export Data as CSV (Excel-Compatible)

    Export Data as CSV (Excel-Compatible)

    • Create a new pipeline in ADF.
    • Add a Copy Data activity.
    • Set the source as your Azure SQL Database.
    • For the sink, choose Delimited Text (CSV) format.
    • Configure the file extension as .csv, which can be easily opened in Excel.

    Automate Excel Conversion (Optional)

    If you need a true Excel file (.xlsx), you can:

    • Use an Azure Function or Azure Logic App to convert the CSV to an Excel file automatically.
    • Alternatively, use a Databricks Notebook (Python with Pandas) for conversion.

    For more details, please refer: Convert CSV to EXCEL in Azure Blob Storage

    I hope this information helps. Please do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    Thank you.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.