Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Question on Functionality for Recording Outlook Emails in Excel Sheet

First time using flow, previous (occassional) IFTTT user (for personal stuff).


I have created a flow to save all attachments from certain senders to a folder in dropbox, and also to log the time, subject, sender, and attached file name for said emails as they come in within an excel sheet in the same dropbox folder. It took about 25-30 minutes of tinkering, but then I was up and running.


My question is with regards the excel log and the table sizing. Initially I made the table (4 columns) the length of the whole sheet, but that exceeds the 100000 row limit as I soon learned. I then made the table ~20 rows tall to start testing. I then sent a series of emails with 1 or more attachments to test functionality. This worked fine, and the "__PowerAppsId__" column was added to the table on the far right, NBD.


However, what I noticed was that on the first email, with one attachment, the entry was added to the excel table at the bottom of the table (row 21) and rows 2-20 were all blank save for the __PowerAppsId__ column, which had a randomized entry on each row. Subsequent emails just appended themselves to a new last line in the table (I guess it created row 22 and added the entry for the next email/attachment combo).


In light of this, I then recreated the table having only 1 initial row (header in row 1, first empty entry in row 2) and received an error 413 RequestEntityToLarge in the flow run history (file save worked, email entry failed). I then redid the table again and restarted everything and now it seems to work.


Before I roll this out to some colleagues and start using this for our workflow, I just want to understand what was going on with both the first empty rows in a table being filled with blanks and only populating the __PowerAppsId__ column, and also what the 413 error means (haven't found a solid answer yet). My fix seems to obviously be starting with a 1-row table, but I want to make sure it won't present an issue down the road. 


Really cool otherwise.



Community Support Team
Community Support Team

Re: Question on Functionality for Recording Outlook Emails in Excel Sheet

Hi @Speez,


Could you please share a screenshot of your flow’s configuration?


When you insert records into an Excel file with Excel connector, it will insert a column called _PowerAppsId_ into the table automatically, the _PowerAppsId_ column is used to keep track of changes in the row. Besides, even though, there is something error occurred when you insert records into the table (Records are not inserted into the table successfully), the _PowerAppsId_ column would also be populated with a value.


The 413 error told that the server cannot process the request because the request URL is longer than the server can interpret. This issue is related to the size of inserted records of the table.


More details about HTTP Status Code, please check the following article:



Best regards,


Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020


Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 42 members 4,610 guests
Please welcome our newest community members: