
Announcements
Working with an outside vendor that sends a daily status report email to an Admin email account. I have set up a very simple flow that will take the attachment they send (.xlsx) and place a copy of it in a SharePoint document library. The original idea was that they file they send would overwrite the previous day's submission.
I've tested this myself by just sending an image to see if the flow would pull out the attachment and had no issue. The flow would even overwrite the previous file if they were named the same thing.
The original file is a 35KB Excel document, but in the SP library it is a 1KB file. I checked the email account, and the file opens fine there. But when opening the file in the library this is what I get:
Here is the flow I used originally with .JPEG that worked when I tested sending the email from my account to the Admin account.
Would it matter if the user is not in our tenant as a guest account?
That doesn't matter if the user is not in your tenant as your are trying to extract email attachment and flow is running in context of your user account. The issue here is only with file content how that is being created
Can you please try changing the include attachments option on the trigger to YES and on the create file action in the file content instead of directly passing the attachment content pass it in a binary format. For that you can use the expression base64tobinary("AttachmentContent").
Make the above mentioned changes and check if that helps with overcoming the issue
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved.