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 / How can I sync OneDriv...
Power Automate
Unanswered

How can I sync OneDrive files on unattended mode?

(0) ShareShare
ReportReport
Posted on by 7

I have a desktop flow that needs files in OneDrive to be synced so that it can run properly. This flow works fine when in attended mode. However, it always seems to fail when run in unattended mode because the files from OneDrive have not synced. Is there a way to fix this issue?

 

If anyone has any suggestions on resources I can look through, it would be greatly appreciated. I've been stuck on this for a while.

I have the same question (0)
  • aminab-msft Profile Picture
    Microsoft Employee on at

    Hello there, can you tell us a bit more about the logic of your desktop flow and what you are trying to do with the OneDrive files? depending on what behavior you are trying to achieve we can advise on strategies to succeed.

    Best,

    Amina

  • DanielOlsson Profile Picture
    111 on at

    I have the exact same issue, the one drive client takes time to get started aa the unattended job starts and logs in. Hence its to fast and files are not ready.

    One workaround is to set a 30 second pause at start of job. Not the best but it works.

     

    Regards

    Daniel 

  • yoko2020 Profile Picture
    495 on at

    Onedrive need a user sign in so it can keep syncing.

    Unattended mode need a user sign out so it can auto login.

     

    😅😅😅

     

  • bernabasket Profile Picture
    74 on at

    Hi. Getting the same issue here. Any suggestions? I have an Unattended RPA getting files from Web and storing into a One Drive synced folder. Since RPA ends session right after pasting the file into the folder, it doesn't have enough time to sync. Any suggestions, besides give a wait time of some seconds?

     

    Thanks

  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    You can probably use the filepath from the OneDrive action in the cloud as an input for the desktop flow, and then use a Wait for file action down in that desktop flow.

    (You will have to do some text replacement to match the filepath format of Windows)

  • jtanwm Profile Picture
    21 on at

    anyone able to resolve this? 

  • Siddhi_N Profile Picture
    27 on at

    Any solution to above one drive sync when signed out of system I am facing same issue?

  • sharathvenna Profile Picture
    2 on at

    Hi There,

     

    I was facing the same issue nad ifixed it by adding parallel branch:

    1. one for Onedrive data Transfer -Desktop Flow

    2. Sharepoint Trigger - When file is created in folder

     

    As soon as the file moves sharepoint trigger will get started

     

    Kind Regards,

    Sharath Venna

  • Santhosh_K Profile Picture
    2 on at

    I was trying to download files from FTP Account and store in onedrive folder. But with unattended mode it was not syncing to cloud.

    The below method worked for me!

    I started "Run Application" as first action with onedrive location and selected After application launch as "Wait for application load" and with a 60 sec Timeout. 

    application.PNG

    So by this, the onedrive in desktop will be up and running and the files will be synched to the cloud.

     

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 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard