Power Query Problems

How to Fix Excel Power Query Prompting for Sign-In on Every SharePoint Query

Rana GarciaRana Garcia Oct 26, 2026 869 views

Question details

Excel Power Query repeatedly prompts the user to sign in for each individual query connected to SharePoint Online.

How to Fix Excel Power Query Prompting for Sign-In on Every SharePoint Query
Product
Excel Power Query
Device & OS
not provided
Scenario
Retrieving data from multiple Excel files hosted on SharePoint Online using Power Query.
Observed behavior
The system prompts for separate authentication for every query after the MFA trusted period expires, even though the on-premises domain is synced with Microsoft Entra ID.
Before you start

Ensure you have administrative access to your Microsoft Entra Connect configuration and verify that your organizational Active Directory is properly synced with Microsoft Entra ID.

Solution 1Recommended

Enable Microsoft Entra Seamless Single Sign-On (SSO)

Configuring Seamless SSO ensures users are automatically authenticated across all SharePoint queries without repeated credential prompts.

By enabling Microsoft Entra Seamless SSO through Azure AD Connect, the authentication token is passed silently across Microsoft 365 services. This eliminates the need for Power Query to prompt for multi-factor authentication on every individual SharePoint file retrieval.

1
Launch Microsoft Entra Connect

Open the Microsoft Entra Connect (formerly Azure AD Connect) tool on your organization's domain server.

2
Modify User Sign-In Methods

Click on 'Change user sign-in' and proceed to the sign-in method configuration page.

3
Enable Single Sign-On

Check the box labeled 'Enable single sign-on'. You will be prompted to enter your domain administrator credentials to authorize the change.

4
Complete Configuration

Finish the wizard to apply the Seamless SSO settings to your tenant. Users will need to restart their Office applications for the changes to take effect.

Enable Microsoft Entra Seamless Single Sign-On (SSO)
Free Microsoft Office alternative

Experience a Lighter, Faster Alternative to Microsoft Excel

If enterprise configuration issues and constant credential prompts disrupt your workflow, consider WPS Office. It provides a highly compatible, lightweight, and free spreadsheet solution without complex authentication loops.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the downloaded setup file and follow the quick on-screen instructions to install the suite.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing .xlsx files directly. You can begin editing and analyzing data immediately.
Free and lightweight alternative to Microsoft Office.High compatibility with Microsoft Excel formats (.xlsx, .csv, .xls).Simplified data handling without complex enterprise authentication prompts.Familiar user interface for seamless migration without a learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Query ask for credentials even if my account is synced?

This usually happens when Seamless Single Sign-On (SSO) is not fully enabled in Microsoft Entra Connect, or if stale credentials stored in Excel's Data Source Settings conflict with your current multi-factor authentication (MFA) token.

How do I clear my Power Query cache in Excel?

Go to the Data tab > Get Data > Query Options. Under the Global section on the left pane, select 'Data Load', and then click the 'Clear Cache' button. This helps resolve authentication loops caused by corrupted cache data.

Can I use an API key instead of an organizational account for SharePoint in Power Query?

No, SharePoint Online data sources in Power Query natively require an Organizational Account or Windows authentication. API keys are generally used for external third-party web APIs, not internal Microsoft 365 services.