question

SandervanGemert-5436 avatar image
0 Votes"
SandervanGemert-5436 asked SandervanGemert-5436 commented

Read attachment from email and put on Azure file storage with Logic Apps

Hello

We need to read an attachment from an email and store it on an Azure File share. The fileshare is connected to a server on Azure.
If I follow this link, it will put the file in a blob which is not accessible from OS level
https://microsoft-bitools.blogspot.com/2018/03/use-logic-apps-for-extracting-email.html

We now set it up like this, but it than stores the attachment incorrectly. It used to be an xls file, but the contents is now starting with:
"
@odata
.type":"#microsoft.graph.fileAttachment","id":



46760-image.png




Any idea on how to accomplish this?

Thanks
Sander van Gemert

azure-logic-apps
image.png (62.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JayaC-MSFT avatar image
0 Votes"
JayaC-MSFT answered SandervanGemert-5436 commented

@SandervanGemert-5436 I checked that in create file connector we are unable to set the content type explicitly. So you may try to set the content type : https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-content-type#other-content-types
Let me know if this helps!

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We managed to solve this, so now xlsx is properly stored in the fileshare

0 Votes 0 ·