Send csv file hoested on ADLS as an attachment

Sudeep 31 Reputation points
2021-11-22T18:02:19.163+00:00

i have a query .

I have 1 csv file in ADLS and i am sending that particular file as an attachment is it possible. If not what is the other alternative.

I am sorry i did not know where to post this.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,409 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 84,381 Reputation points Microsoft Employee
    2021-11-23T09:54:34.137+00:00

    Hello @Sudeep ,

    Thanks for the question and using MS Q&A platform.

    You can use Azure Logic Apps to sent an email as an attachment from Azure Storage accounts to users email address.

    Here are the steps to create a Logic Apps to sent an email as an attachment from Azure Storage accounts to users email address:

    151736-image.png

    Step1: Add "When a blob is added or modified (properties only) (V2)" and enter the storage account details and container name and the occurrence to check:

    151720-image.png

    Step2: Add "Get blob content (V2)" and enter the required parameters like "List of Files Path"

    151783-image.png

    Step3: Add "Send an email (V2)" and enter the required details like Body, Subject, To, Attachment Name as "List of Files Name" and Content as "File Content".

    151801-image.png

    Step4: Save and Run Trigger the created logic app

    151811-image.png

    Step5: For testing the logic app try to upload any files.

    151748-logicappemailattachment.gif

    Step6: We are successfully able to send an attachment from Azure Storage accounts to users email address.

    151710-image.png

    There is a nice video which clearly explains - How to Email File from Azure Blob Storage By using Azure Logic Apps.

    Hope this will help. Please let us know if any further queries.


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.