Forum Discussion

bcdobbs's avatar
bcdobbs
Icon for Community Champion rankCommunity Champion
2 years ago
Solved

Retrieve Attachments from Email and Save to OneLake

Hi, In Azure we currently have an Azure Logic App triggered on web request that retrieves an attachment from an email and saves it ADLS Gen2 Storage. I'd like to modify it to save to OneLake but st...
  • AndyDDC's avatar
    2 years ago

    Hi bcdobbs what have you tried so far?  I'm not that familiar with logic apps tbh but wondering if you can use the formatted URL to access the OneLake Lakehouse files section::

     

    abfss://<replace with workspace name>@onelake.dfs.fabric.microsoft.com/<replace with lakehouse name>.Lakehouse/Files/emailattachments

     

    Also, how is the logic app authenticated?

  • bcdobbs's avatar
    2 years ago

    Thanks. No more detail to add I'm afraid, had tried replacing path as suggesting. Authorising using oauth with my account. Have parked for now and written python against graph api to do it.