Blog Post

Excel Blog
3 MIN READ

New in Excel for the web: Power Query Refresh & Data Source Settings for authenticated data sources

jokahati's avatar
jokahati
Icon for Microsoft rankMicrosoft
Jul 22, 2025

We’re excited to share the latest addition to Excel for the web: Power Query Authenticated Refresh and Data Source Settings for selected data sources!

We’ve reached yet another milestone in Excel for the web: Power Query Refresh is now generally available for queries sourcing data from selected authenticated data sources. 

As we released the ability to refresh Power Query data from anonymous data sources (link), it was only a matter of time until we added the ability to refresh Power Query data from authenticated data sources, which are the majority of data sources used, and require users to enter credentials. 

This milestone also enables us to release Import with Copilot to Excel for the Web (following Win32 and Mac), as it relies on Power Query for refreshing data.

 

Getting started 

These new functionalities are available to all users on Excel for the Web.  
See this support article for more information on Power Query data sources in Excel versions.

 

GIF showing how to refresh a data source in Excel for the web using Power Query

 

Refreshing Power Query queries 

You can now refresh the Power Query queries in your workbook that source data from a selection of authenticated data sources: 

  • Select the Data tab > then choose Refresh All 

When you refresh a query, if authentication is needed, you can select the relevant method – anonymous, user and password, or your organizational account.  For example, to refresh organizational data, select the respective method:

 

 

Your user will be automatically identified (you can also switch it, if needed), so you can easily click “Connect” to continue the refresh process. 

 The list of supported connectors includes: 

  • SharePoint* files (Excel workbooks, TXT, CSV, XML, JSON, PDF) 
  • SharePoint* folders 
  • SharePoint Online List 
  • SharePoint List 
  • SQL Server Database 
  • OData Feed 
  • Web API 
  • IBM Db2 Database 
  • PostgreSQL Database 
  • Azure SQL Database 
  • Azure Synapse Analytics   
  • Azure HDInsight (HDFS)   
  • Azure Blob 
  • Azure Table 
  • Azure Data Lake Storage Gen 1   
  • Azure Data Lake Storage Gen 2 
  • Azure Data Explorer 
  • Dataflows 
  • Dataverse 
  • Microsoft Exchange Online   
  • Dynamics 365 (Online) 
  • Salesforce Objects   
  • Salesforce Reports 

*SharePoint/OneDrive for work or school    
 
Note: Refresh is limited to 1000 connections per user. 

The refresh happens behind the scenes so you can keep editing the workbook while refreshing.  

 

Managing queries using Data Source Settings 

You can now view and manage data source credentials for the Power Query queries in your workbook using Data Source Settings: 

  • Select the Data tab > then choose 'Data Source Settings’. 

 

  

  • Choose between ‘Current Workbook’ and ‘Global Permissions’ to view and manage data sources credentials in the current workbook or across all workbooks, respectively. 
  • To delete the credentials stored for a data source, click on the ‘Delete’ button. 
  • To edit the credentials stored for a data source, click on the ‘Edit credentials’ button. 

 

In addition, we’re introducing a new functionality in Data Source Settings – authenticating to a data source that exists in the workbook from within the dialog: 

  • Select the Data tab > then choose ‘Data Source Settings’. 
  • Navigate to ‘Current Workbook’. 
  • Click on the ‘Add credentials’ button: 

 

 

 

 

What’s next? 

Future plans include releasing the full Power Query Editor experience to Excel for the Web. 

 

Feedback 

We hope you like this new addition to Excel and we’d love to hear what you think about it! 

Let us know by using the Feedback button in the top right corner in Excel - add #PowerQuery in your feedback so that we can find it easily. 

 

Want to know more about Excel for the web? See What's new in Excel for the web and subscribe to our Excel Blog to get the latest updates. Stay connected with us and other Excel fans around the world – join our Excel Community and follow us on Twitter. 

 

Jonathan Kahati, Gal Zivoni 
~ Excel Team 

Updated Jul 22, 2025
Version 3.0

15 Comments

  • TriPPS's avatar
    TriPPS
    Copper Contributor

    I'm getting this error. Is web content no longer an authenticated source?

    • SergeiBaklan's avatar
      SergeiBaklan
      Diamond Contributor

      Click on Basic in left pane and enter your credentials. But I'm not sure "from Web" connector shows you sheet content, most probably it will be forwarded on page within Google environment which says Sheets doesn't work with such browser. Tried that long ago.

      As I remember Google Sheets connector is available only in Power BI Desktop.

  • schuffa321's avatar
    schuffa321
    Copper Contributor

    Hello! Those are wonderful news and I'm happy that the feature finally arrived 😊
    What I'm currently still failing with, is to trigger an excel workbook refresh with keeping such a connecting using Office Scripts (finally from Power Automate end). So if I click the button (e.g. "Refresh All") in the excel workbook opened in Office Online - refresh works perfectly fine (= your new feature), but if I try to run a very simply office script (which should do the same) it fails (so no error, but de facto nothing updates). Here the script I used:

    function main(workbook: ExcelScript.Workbook) {

      // Refresh all data connections

      workbook.refreshAllDataConnections();

    }
    Was there something "forgotten" or when will that work as well? 😬

    Scenario is to update excels pivots in sharepoint via office functions (shared with certain communities; connected to an Azure SQL DB), event driven after the SQL data update took place (with using PowerAutomate in that case).

    • SergeiBaklan's avatar
      SergeiBaklan
      Diamond Contributor

      schuffa321​ , that's not forgotten, functionality is on radar. But not implemented in this wave and nobody knows when it could be in production.

  • namgaw's avatar
    namgaw
    Copper Contributor

    Where/how can I see plans for implementation of an Oracle data source refresh on the web?

  • Naiad12321's avatar
    Naiad12321
    Copper Contributor

    Is it possible to refresh Power Query using Office Script? I’m trying to retrieve data via Power Query from an Excel file stored in a SharePoint Folder.

    1. I could refresh it in Excel for the web.
    2. After that, I tried using `refreshAllDataConnections()` in Office Script to update the data, but it didn’t work.
    • SergeiBaklan's avatar
      SergeiBaklan
      Diamond Contributor

      Right now it doesn't work, perhaps will be implemented in some future

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    Merging of queries from different data sources still doesn't work. As for me that's main showstopper.

    jokahati wrote:

    Refresh is limited to 1000 connections per user.

    That's per hour, per day, per month or for entire life?

    In #shared environment we have about 1200 objects against 850 in desktop, depends on subscription and channel. Data source credentials are in different environments and are set independently. Does that mean potentially we have compatibility issues shifting from web to desktop and back working with file?

     

    • jokahati's avatar
      jokahati
      Icon for Microsoft rankMicrosoft

      I will clarify - the limit is for 1000 data source credentials.
      For example, if you connect to the same data source with 2 different users, it counts as 2.