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 / UPDATING CONNECTION TA...
Power Automate
Unanswered

UPDATING CONNECTION TABLES IN POWER AUTOMATE

(0) ShareShare
ReportReport
Posted on by 2

I am trying to update, using Power Automate, an Excel file stored in my OneDrive. This file contains 5 queries connected to different OneDrive sources (TABLE1, TABLE2, TABLE3, TABLE4, and TABLE5), which I have combined into a new query called "COMBINED".

The issue occurs when I modify the data in one of the queries (for example, TABLE1) and then open the Excel file from the browser (Excel for the web). The data does not update automatically, and I get the following message:

"Data could not be refreshed: This workbook contains Power Query queries that use data sources which cannot be refreshed in Excel for the web. (Learn more... Send feedback). Open in the desktop app."

When I open the file in the desktop app and manually refresh the data (DATA -> REFRESH ALL), the changes are reflected correctly. If I then open the file in Excel for the web, the data appears updated.

To try to solve this issue, I have set up a Power Automate flow with a recurrence trigger:

{
  "type": "Recurrence",
  "recurrence": {
    "frequency": "Minute",
    "interval": 1,
    "timeZone": "Tocantins Standard Time",
    "startTime": "2025-01-22T01:00:00Z"
  }
}
Then, I run a "Run Script" with the following code:


 
function main(workbook: ExcelScript.Workbook) {
    // Refreshes all data connections in the file
    workbook.refreshAllDataConnections();
}
 
 
 
The problem is that, although the script runs successfully, the data is not updated in the online version of the file (Excel for the web). The changes only appear if I open the file in the desktop app and manually run "REFRESH ALL".
Categories:
I have the same question (0)
  • MD-22021943-0 Profile Picture
    2 on at
    ....

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard