Automated Email with Excel or CSV attachment?

Scott McQueen 20 Reputation points
2023-12-14T13:49:09.93+00:00

Hi everyone,

My team currently uses SAS to pull data from an on-prem database, create an Excel spreadsheet from the SAS dataset, and email the dataset to users specified in the SAS job. The entire query can be automated. We are migrating to Azure and will access to Data Factory, Synapse Analytics, Databricks, Power Automate, Power BI, and Power Apps.

Is there a tool or combination of tools that we can use to achieve this capability? I was under the impression that Data Factory or Synapse Pipelines but that does not appear to be the case.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Subashri Vasudevan 11,306 Reputation points Volunteer Moderator
    2023-12-14T14:14:48.41+00:00

    Hello,

    Yes as you have thought, you can make use of ADF/ Synapse analytics to query on Prem database and send email. But with respect to attachment, excel support is not yet there, and you can still use CSV files.

    You can use copy activity to pull records from on Prem DB and create a CSV file stored in azure blob storage or data lake storage. And use web activity + logic apps to send email with the CSV file attached to the required persons.

    Hope that helps. If you need more details, please let us know.

    Thanks.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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