cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Email with an email attachment

Hello all,

 

I'm using a flow to process Outlook 365 email attachments and add them to a SharePoint List.

 

Flow works great except when an email has an email as an attachment.

 

An email attachment is not being recognized as an attachment... I've even tried using the out of the box template available, if it has images, pdf, documents, etc it works fine, if you have an email attached thou it gets ignored, it doesn't even show as an attachment.

 

Example:

  Test email -> attachments included: image1.jpg, image2.jpg, reference-email.msg

 

 Total attachments above: 3,

 Total recognized attachments: 2 (only the images, reference-email.msg is not acknowledged as attachment.

 

Anyone has experienced a similar condition? any way to fix this?

 

--- Edit: ---

It seems the connector does not come with this feature, therefore it is not possible, which I believe is a bug in the connector. A message was added to the "I found a bug" forum for followup.

https://powerusers.microsoft.com/t5/I-Found-A-Bug/Outlook-365-msg-attachments-not-accessible-on-Outl... 

 

-- Edit 2: --

Reply from Microsoft Support Team indicate email are considered "attachment items" not "attachments" (however weird that sounds) and the connector does not recognize them as true attachments to be saved.

If you are ok with exporting the email in .eml format and using it this way, there is a post with instructions on how to do it:

https://powerusers.microsoft.com/t5/Building-Flows/Saving-email-attachments-msg-with-flow/td-p/26069... 

 

A suggestion of an API call is the closes to a solution (see replies for more info). An API call seems not to be able to process email .msg attachments either from what I gather on the reply from the Microsoft Support Team guy.

 

Many thanks,

 

Angel

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Email with an email attachment

No @AngeloEG  unfortunally don't exist a way by conectors.

In API you can do a API HTTP request.

 

https://docs.microsoft.com/en-us/graph/api/attachment-get?view=graph-rest-1.0&tabs=http



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

5 REPLIES 5
Highlighted
Super User III
Super User III

Re: Email with an email attachment

@AngeloEG  Yes my friend as you says the conector don't list email attachments if the attachment is an email.

Maeby by API.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Frequent Visitor

Re: Email with an email attachment

@ChristianAbata  Is there an alternative to get this type of attachments? or is this a bug? 🤔

Highlighted
Super User III
Super User III

Re: Email with an email attachment

No @AngeloEG  unfortunally don't exist a way by conectors.

In API you can do a API HTTP request.

 

https://docs.microsoft.com/en-us/graph/api/attachment-get?view=graph-rest-1.0&tabs=http



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

Highlighted
Super User III
Super User III

Re: Email with an email attachment

Hi @AngeloEG 

 

Email attachments are not treated as attachments.  See below response from When a new email arrives.

 

{
"From": "xxxxxx",
"To": "xxxxxxx",
"Cc": null,
"Bcc": null,
"Subject": "FlowTest",
"Body":
"Importance": 1,
"BodyPreview":
"HasAttachment": true,
"Id": "AQMkAddddddddDAwATM0MDAAMS1hY2MANi1hMWRjLTAwAi0wMAoARgAAA5e1oQ_RysJEg79osI3jSOgHALMPKX64LmNJoF8uVtSPHQoAAAIBDAAAALMPKX64LmNJoF8uVtSPHQoAAzhgjZ8AAAA=",
"InternetMessageId": "<AM6PR08MB3814dsfdsdsdsfdsfdsfdsfdsfdsfdsf57DBBB79314D9F79dddd12C2DC160@AM6PR08MB3814.ddddd.prod.outlook.com>",
"ConversationId": "AQQkADAwATM0MDAAMS1hY2MANi1hMWRjLTAwAi0wMAoAEAAUB4ZbWm9KuZfw-7Nq7_EX",
"DateTimeReceived": "2020-02-17T21:29:44+00:00",
"IsRead": false,
"Attachments": [],
"IsHtml": true
}

 

There is not much detailed documentation about this. Can't confirm this is a bug or not.

 

https://docs.microsoft.com/en-us/power-automate/email-triggers

 

Your alternate option is zip the email then send as attachment.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Highlighted
Frequent Visitor

Re: Email with an email attachment

Thank you @ChristianAbata and @abm, I have added the report to the "I found a bug" forum.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,222)