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 / Cannot open excel file...
Power Automate
Unanswered

Cannot open excel file that has autosync

(0) ShareShare
ReportReport
Posted on by 39

I am using PAD for the first time and trying to open an xlsx file that is on my companies SharePoint. The file path looks like:

 

C:\Users\me\OneDrive - company\General - NA Advanced Engineering_ Labs\Monthly Summary_Master_R1.xlsx

 

When I try to use the launch excel option, it gives an "Active workbook retrieval error". Of note, this does not open excel but does start the excel process in the task manager. If I try to run it again, Excel shows a dialogue saying that "the file is open in another application. Please close it and try again. PAD gives the error "File related error"

 

If I try to manually open the file after running the PAD flow, Excel shows the same dialogue saying the file is open in another application. It then shows a second dialogue saying

 

"Microsoft excel cannot access the file. There are several possible reasons:

* The file name or path does not exist.

* The file is being used by another program.

* The workbook you are trying to save has the same name as a currently open workbook."

 

The only way I can open it again is by going into task manager and forcing the excel process to end.

 

I discovered that if I exit onedrive, it opens the excel file with no issue! But, the file has autosync, and so it is completely blank. 

 

I have tried repairing MS365, I have restarted my pc, neither work. It seems to be an issue with the fact that the file is synced to onedrive. I am at wits end here, what is going on?

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @awaples ,

     

    Just Try the Terminate process action in that terminate the excel before and after the flow as shown in below image.

    The below method will solve your issue.

     

    VishnuReddy1997_0-1718255495165.png

    VishnuReddy1997_1-1718255518366.png

     

    Yes sometimes we face the issue while auto syncing the file to onedrive.So my suggestion is when you developing the BOT just turn off the auto sync or use D drive for BOT usage.

     

    (Note:- if you got your solution you can mark as solution and gives kudos)


    Thanks & Regards

    Vishnu Reddy

     

  • awaples Profile Picture
    39 on at

    Terminating it does not work either. Is it possible to turn off autosync with power automate? If so, I could do that, pull the data, then turn it back on.

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @awaples ,

     

    There is not possibility off turning off and on the auto sync in PAD.

    Just try with other excel if the same issue is occuring.

     

    Regards,

    Vishnu Reddy

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 249 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 202

#3
David_MA Profile Picture

David_MA 180 Super User 2026 Season 2

Last 30 days Overall leaderboard