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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Fabric Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.