web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Excel Run Script - Pow...
Power Automate
Suggested Answer

Excel Run Script - Power Query refresh doesn't do anything

(0) ShareShare
ReportReport
Posted on by 2
Hi Forum

I'm trying to make a flow that merges (power query append) two excel files stored on a suppliers shared SharePoint folder (for which I have access), using a Excel Run-script to execute the below Office Script.

The Office script works perfectly in Excel (app and online) and when it is being executed from the Run-script I do also get the console.log debug information in the "Show raw outputs", however the data in the excel file is not updated.

All the other actions are working fine the only issue is that the Power Query refreshAllDataConnection doesn't seem to be doing anything.  

   
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,508 Super User 2025 Season 2 on at
     
    This is expected, that will not work from a Script, it's been this way since day one(years)
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
  • LP-16121332-0 Profile Picture
    2 on at
    Hi @Michael E. Gernaey

    Thanks for the fast reply, now I can stop chasing a dead end.

    But what are my alternatives to this "basic" use case to merge/append two or more excel files based on some kind of an automation flow? 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 478 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 247 Moderator

#3
abm abm Profile Picture

abm abm 231 Most Valuable Professional

Last 30 days Overall leaderboard