Forum Discussion
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 struggling to make it work. Has anyone done similar?
Thanks
Ben
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?
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.
4 Replies
- smpa01
Community Champion
I have a similar req to utilize PA to place files in ADLS Gen2 folder (as opposed to SP folder) on a SP trigger. I am struggling with that too.
- bcdobbs
Community Champion
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.
- AndyDDC
Most Valuable Professional
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?
- AnonymousNot applicable
Hi bcdobbs
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. Otherwise, will respond back with the more details and we will try to help.
Thanks