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 / Use Power Automate to ...
Power Automate
Unanswered

Use Power Automate to refresh connections in Excel file stored in SharePoint

(0) ShareShare
ReportReport
Posted on by 297

Hi.
I hope that somebody is able to assist me with this.
I`m trying to find out if it`s possible to use Power Automate to "Automate" a refresh of connections in an Excel online file.
I am using Power Query to refresh data, i would like to write a code to refresh the data in the Excel document without having to open the document and manually hitting the Refresh All button.
Is there a way of doing this?

Categories:
  • srduval Profile Picture
    1,796 Moderator on at

    Not directly with power automate, but you might be able to find an office script function (the new macro) that can do this, then have power automate run that office script.

  • martatracik Profile Picture
    297 on at

    is office script complicated? i have never used it 

  • srduval Profile Picture
    1,796 Moderator on at

    I've only used it once from something I pulled off a blog post. I haven't really searched for any learning resources for it yet to understand it. It's different language and syntax than the old macro VBA code.

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 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard