I also posted this issue under the Power Automate community, but this could be a Dataverse issue.
Here is the link to the original post:
Flow saves attachments inconsistently to Dataverse - Power Platform Community (microsoft.com)
The issue I'm having is consistently saving .pdf, .jpeg, .docx, .xlsx, .txt files to the Attachment default Dataverse table:
I have a Power Automate flow that, when an email with attachments is received, it goes on to create a record in the Email/ Email Messages Dataverse table, then create a record for each attachment in the Attachment Dataverse table and then I relate to the Email record corresponding to that.
My issue that sometimes the files do not get saved to the attachment table, while sometimes they do even though I am re-sending the same files. Here is the configuration of the "Add a new row" action for the Attachment table:
Here is the error code:
This issue happens with any file type. What I found was that if the flow gets triggered by the email being received, it will fail.
But, if I re-submit the same flow run manually it will succeed.
I created a ticket with Microsoft to investigate this issue. I tried using expressions like base64() or base64ToBinary() in the Power Automate flow to store it. That will save the attachment, but the file will not open once downloaded.
I tried increasing the maximum file size on the attachments table, but that didn't help either.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
16 | |
11 | |
8 | |
5 | |
4 |
User | Count |
---|---|
24 | |
14 | |
13 | |
11 | |
10 |