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

60 Days of Data Days! Live and on-demand sessions, challenges, study groups and more! And it's all FREE!. Join now. Learn more

Reply
aputhuraya
Frequent Visitor

Catalogging Table - Handling Email Attachments

Hi Fabric Community,

 

My requirement is to index the attachments from incoming emails.


For this purpose, the current design in Azure is the use of a SQL table, where a logic app adds a row for every attachment along with metadata like subject, sender and filename. Then, on a schedule, a stored procedure looks at every row and it's metadata to index it based on fixed rules on subject/sender/filename.

 

Now I want to do the same in Microsoft Fabric, but am unable to overcome challenges with having this table set up either as a Lakehouse Delta Table or a Warehouse table.

 

When I try a Lakehouse Delta Table:

  • An Azure Logic App is unable to "insert" rows into it (as Data Manipulation Language isn't supported in a Lakehouse I guess)

When I try a Warehouse Table:

  • I cannot easily "update" a row (through "update" statements) using a Spark notebook. 
  • I can only use Stored Procedures, which are very restrictive with no support for Temp tables, variables etc.

Any help would be highly appreciated.

Thanks.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @aputhuraya ,

 

Due to a lack of Data Manipulation Language (DML) support, it is not possible to insert rows into a delta table in Lakehouse.

 

I saw a case with a similar problem to the one you are experiencing:

Solved: store data from email attachment - Microsoft Fabric Community

 

His solution was to set up a query that looked at his Outlook account and copied attachments to lakehouse.

 

He used the “Data Destination” option in the “Query Settings” section of the data flow and selected “Append” from the update method options, which allowed him to add the new data to the lakehouse All-in-One.

 

You can try his method that will load the attachments in your email he table into lakehouse.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @aputhuraya ,

 

Due to a lack of Data Manipulation Language (DML) support, it is not possible to insert rows into a delta table in Lakehouse.

 

I saw a case with a similar problem to the one you are experiencing:

Solved: store data from email attachment - Microsoft Fabric Community

 

His solution was to set up a query that looked at his Outlook account and copied attachments to lakehouse.

 

He used the “Data Destination” option in the “Query Settings” section of the data flow and selected “Append” from the update method options, which allowed him to add the new data to the lakehouse All-in-One.

 

You can try his method that will load the attachments in your email he table into lakehouse.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.