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 / Launch Excel action no...
Power Automate
Answered

Launch Excel action not retrieving latest data from Password protected workbook on SharePoint

(0) ShareShare
ReportReport
Posted on by 27

Steps to recreate the issue:

  • Create an Excel file with password protection in a SharePoint location
  • Create a Power Automate Desktop Flow
  • Add Launch Excel step, choose to open a selected document.
  • Provide File path under Document path.
  • Turn on the Make Instance visible option. 
  • Provide Password under Advanced section.
  • Also add a Close Excel step to make sure the flow is complete. 
  • Make updates to the file and observe the content in the excel instance launched by Power Automate Desktop

Note: This issue doesn't seem to occur when using an excel file without password protection. Adding some waits in the flow for few seconds ensures latest data is being pulled.      

 

Update: The issue is intermittent and also occurs for files that are not password protected. There office pop-up with message stating "Server File Updated - A newer version is available" indicating the issue might also be cache related. 

I have the same question (0)
  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    Hi @addepallimadhu 

    Can you copy your actions in PAD and paste here?

    Looking at your steps it seems you are closing Excel before you read from it.

  • addepallimadhu Profile Picture
    27 on at

    This flow is created for only the purpose recreating the issue. I am viewing the Excel instance by adding a break point at the Close Excel step. Should have mentioned this in my original post. 


    Copy and pasted the relevant steps for your reference below: 
    Excel.LaunchExcel.LaunchAndOpenUnderExistingProcess Path: $'''https://*******/ExcelRefresh.xlsx''' Visible: True Password: P'*****=' ReadOnly: False Instance=> ExcelInstance
    Excel.CloseExcel.Close Instance: ExcelInstance

  • Verified answer
    addepallimadhu Profile Picture
    27 on at

    Turned out to be caching related.  Checking this option in Excel which is Options -> Save seems to resolve the issue.

     

    addepallimadhu_0-1674213898042.png

     

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
11manish Profile Picture

11manish 233

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 190

Last 30 days Overall leaderboard