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 / Power Automate Web Flo...
Power Automate
Answered

Power Automate Web Flow to Desktop Flow based on a OneDrive File Update

(0) ShareShare
ReportReport
Posted on by 52

Good Afternoon and Happy Friday!

 

Recently, I created a Power Automate Web Flow that automates the following steps:

 

  1. When a user completes a Microsoft Form, the input is saved in an Excel document in my OneDrive for Business Account.
  2. The final step of the Power Automate Web Flow is to initiate a Power Automate Desktop Flow that takes the information saved in step 1 and uses browser automation to create a user account for our web-based LMS.
  3. The Power Automate Desktop Flow starts by providing me (in attended mode) a message asking if they want to automate the account's creation or stop the bot.

 

Everything works like a charm. 

 

However, recently (this week), the first step has been working without issues. Nevertheless, when the Power Automate Desktop Flow is triggered, it fails if the OneDrive file (the Excel workbook) isn't finished Syncing. The file size is only 14 KB, so there's no reason why the file wouldn't be finished Syncing. I'm on 1 Gbps Up and Down Fiber. It's designed to replace row 1 (Row 0 contains the headers) whenever users submit their information from the Microsoft Form from Step 1. So, when it isn't appropriately synced, it accidentally presents the prior user's data instead of the new user's data from the Microsoft Form.

 

Can I create a logical check to ensure that the Excel File in my OneDrive for Business is properly synced before the Power Automate Desktop Flow runs? With that same idea in mind, I should be able to create an "IF" statement that would stop the Flow from running if the file isn't synced.

 

Has anyone else experienced this issue?

I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @Kmmille25 

     

    You can try via command line to check whether the file is synced or not.

     

    onedrive-cli item metadata /path/to/your/file 

     

    for this you need to install onedrive SDK in your machine. The output of command when file is not synced is it will throw an error stating that file is not available.

     

    Hope this helps !

    Mark this as solution if this resolves your query

  • Kmmille25 Profile Picture
    52 on at

    Hi Nived,

     

    That's fantastic information, and I could not find this anywhere else. Brilliant, mate! Thank you!

  • Kmmille25 Profile Picture
    52 on at

    Hi @Nived_Nambiar, I'm having some difficulty finding the OneDrive SDK for Win 11. Would you happen to have a reliable source where I could download 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard