web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Read from D365 then Ad...
Power Automate
Unanswered

Read from D365 then Add Row to Excel problem

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Guys, so I have this kind of issue where in when I fetch data from D365 then write it to Excel stored in sharepoint, I am having a discrepancy issue with it. So here is my process in detail

 

1. Get List of data from D365.

2. Do "Apply to each" with the list fetch from #1

3. Inside the loop, write each data per row iterated from #2 in Excel file stored in Sharepoint.

4. After done, delay 5m to ensure all is written.

5. Fetch the file from sharepoint then distribute in email.

 

So the issue here for example, I have 1000 rows of data fetched from #1 but I am receiving a mail sometimes with just 800+ or so rows in the excel file. And sometimes, data writing was very smooth with no missing data on the excel. So I want to know how can we prevent this from happening? Thank you

Categories:
I have the same question (0)
  • LinkeD365 Profile Picture
    105 on at

    Hey @Anonymous 

     

    Could you be seeing the effects of parallelism? Where in the Apply to each, which are normally run in parallel, are both trying to update your excel file & one overwrites the other?

     

    https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Degree-of-Parallelism-in-Power-Automate/bc-p/473315

     

    If my reply helped, consider marking it as answered. Thanks for your time in sharing your issues and helping the community

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    I am only using concurrency level 1 since it cause write request failure to sharepoint sometimes if I set it to a higher value. Also what was weird here was for example I have 200 rows fetched in D365 then I write it in excel file residing at sharepoint directory. Run history says that it successfully writes all 200 rows but checking on excel at sharepoint, sometimes its not and likely less than 200 or something. So what would be the best solution for this?

     

    Best Regards,

    Kydo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard