Search code examples
azureemail-attachmentsazure-logic-apps

Azure Logic App: How to download email attachments


I have logic App that triggers on arriving of the email and passes attachment to Azure Function for further processing.

Here How it looks now enter image description here

So, it reads the email and passes the attachemnts to the Function. Function is developed with C#

Is it possible to get attachment content like a stream or download it inside of the function?

Thank You


Solution

    1. Download the image to a blob storage account.
    2. Process the image (stream) in a function that is either trigger by blob creation or eventgrid-trigger.