Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
bcdobbs
Super User
Super User

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



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
2 ACCEPTED SOLUTIONS
AndyDDC
Solution Sage
Solution Sage

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?

View solution in original post

bcdobbs
Super User
Super User

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.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

4 REPLIES 4
bcdobbs
Super User
Super User

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.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
smpa01
Super User
Super User

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.

@lbendlin 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
AndyDDC
Solution Sage
Solution Sage

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?

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

Helpful resources

Announcements
April Fabric Update Carousel

Fabric Monthly Update - April 2024

Check out the April 2024 Fabric update to learn about new features.

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors