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 / Sync issue between MS ...
Power Automate
Unanswered

Sync issue between MS Form Submission & Excel Write

(0) ShareShare
ReportReport
Posted on by 2
Hi, I face an issue that involving syncing between MS Form submission time and Excel write time. I have a Power Automate workflow that is triggered when MS Form is submitted. Instead of read from MS Form, I create a loop that check if the Excel is already written based on Id, specifically, I use "List rows present in a table" with Filter Query Id eq @{triggerOutputs()?['body/resourceData/responseId']}. My idea is to loop till the row finally written. But somehow when my computer goes into sleep mode with the excel open, my Power Automate is unable to read the last row. Only when I open the excel again it is able to read it and proceed. Any idea for solving the synchronization issue? I do not use Get details from MS Form because I want to make my flow dynamic especially when new field is added into MS Form, I will extra it from Excel instead of using Internal Id of MS Form to get the new field. This is how the loop occur.
Screenshot 2026-0...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • CU25051608-1 Profile Picture
    on at
    Greetings everyone! A friend from my football group shared this article after we started talking about sports injuries and recovery options. I opened https://ways2well.com/blog/regenerative-medicine-for-athletes-what-the-evidence-shows mostly out of curiosity, but the explanations kept me reading longer than expected. What stood out was that the article focused on real information and evidence instead of trendy fitness buzzwords. It felt practical and easy enough to follow even without a medical or athletic background.
  • Radwan Almsora Profile Picture
    24 on at

    Hi,

     

    ​The root cause of your issue is a misunderstanding of how the default Excel Online connector in Power Automate works when combined with an active desktop user session.

     

    ​The Cause: File Locking and Cached Excel Sync

     

    ​When an Excel file is open on a computer that enters sleep mode, the Excel desktop client or browser session can leave the file in a "locked" or unsynced state in OneDrive/SharePoint.

     

    ​When MS Forms submits data, it uses a background API to inject the row into Excel. However, if your Power Automate loop uses "List rows present in a table" while the file is concurrently locked or out-of-sync due to the sleeping machine's session, the Graph API cannot reliably query the live table data. It gets stuck until you wake up the PC, forcing Excel to sync its state with the cloud.

     

    ​The Solution: Keep It Dynamic Without the Loop

     

    ​You can achieve your goal of a dynamic workflow (ignoring fixed Form internal IDs) without waiting for Excel to sync.

     

    ​Instead of waiting for Excel to write the row and looping to read it, you can bypass the Excel sync issue entirely by using the standard "Get response details" action dynamically, or extracting the raw JSON payload straight from the Forms trigger.

     

    ​Method 1: The Zero-Code Dynamic Approach (Recommended)

     

    ​You do not have to hardcode fields from the "Get response details" action. You can parse the response dynamically using a Parse JSON block. This gives you all fields (even new ones) instantly without touching Excel.

     

    1. ​Keep your trigger: When a new response is submitted.

    2. ​Add the action: Get response details.

    3. ​Pass the outputs of "Get response details" into a Parse JSON action.

    4. ​Turn off your Excel looping structure completely. You now have a dynamic object containing all current Form fields in real-time, independent of your PC's sleep status.


    5.  
     

    ​Method 2: Force Excel Sync/Refresh (If you must keep the loop)

     

    ​If your architecture strictly requires reading from the Excel file, you must prevent the file from locking:

     

    • ​Close the File: Do not leave the Excel sheet open on your desktop when leaving your desk. If closed, Excel Online handles the API requests flawlessly in the cloud.

    • ​Add a Delay: Inside your Power Automate loop, ensure you have a Delay action (e.g., 30 seconds to 1 minute) between checks. Rapidly hitting an un-synced Excel table via "List rows" will cause the API to serve cached results.


    •  
  • KT-25050918-0 Profile Picture
    2 on at
    Hi Radwan,
     
    but if I use Parse JSON, does that mean I have to create a mapping between the MS Form field internal id against the Excel Column name since "Get response details" give JSON with internal id. Something like this, 
    My main reason of getting value from Excel is because I can read the row header instead of internal id as in "Get response details". When new item is added into the MS Form, the new column header is directly created in the Excel and I have my Power Automate logic to handle the additional item column and read its value. So, if Parse JSON is the way, does it mean I need additional table for mapping them? Or you have better alternative to handle it?

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard