logo
search
Power Query Problems

Fix Excel Power Query Authentication and SharePoint Access Issues

Elise WilliamsElise Williams Sep 29, 2026 869 views

Question details

Users need to resolve inconsistent authentication, guest access failures, and repeated OAuth loops when connecting Excel Power Query to SharePoint Online and Entra ID-secured APIs.

Fix Excel Power Query Authentication and SharePoint Access Issues
Product
Microsoft Excel
Device & OS
not provided
Scenario
Connecting Excel Power Query to SharePoint Online and Microsoft Entra ID-secured APIs for data extraction.
Observed behavior
Users encounter inconsistent authentication between Excel and Power Query, unreliable guest-user access, OAuth prompts that loop or fail, and recurring privacy-level prompts.
Before you start

Ensure you have your organizational account credentials ready and confirm whether your Microsoft 365 tenant administrator has configured Conditional Access policies that might restrict Power Query.

Solution 1Recommended

Review Microsoft Entra ID and Conditional Access Policies

Use this method if authentication loops are caused by tenant-wide security policies blocking legacy authentication or guest access.

Often, Power Query authentication fails because Microsoft Entra ID Conditional Access policies are restricting the connection, particularly for external APIs or guest accounts. Adjusting these policies typically requires administrative privileges.

1
Log in to Entra Admin Center

Navigate to the Microsoft Entra admin center and sign in with a Global Administrator or Security Administrator account.

2
Access Conditional Access Settings

Go to 'Protection' and select 'Conditional Access' to view all active security policies in your tenant.

3
Review Policy Restrictions

Check for policies that block legacy authentication, enforce frequent multi-factor authentication (MFA) sign-ins, or restrict guest-user access to SharePoint Online.

4
Modify or Document Permissions

Adjust the policies to accommodate Power Query connections, or document the exact required permissions for your end users so they can authenticate successfully.

Review Microsoft Entra ID and Conditional Access Policies
Administrator Privileges Required: You must have tenant administrator rights to view or modify Microsoft Entra ID policies. If you are an end user, contact your IT department.
Free Microsoft Office alternative

Try WPS Office for a Streamlined Spreadsheet Experience

If you are tired of complex authentication loops, tenant policy restrictions, and recurring permission prompts in Microsoft Excel, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for handling your daily spreadsheet and data analysis needs without the administrative overhead.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package.
  2. 2. Install and Open: Complete the quick installation process and open WPS Spreadsheet.
  3. 3. Import Your Data: Open your existing .xlsx workbooks and start analyzing your data instantly without complex account configurations.
Highly compatible with Microsoft Excel (.xlsx, .xls, .csv) formats.Lightweight design ensuring fast startup and smooth data processing.Familiar and intuitive interface that requires zero learning curve.Free to use with powerful built-in PDF tools and seamless data handling.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Query keep asking for my credentials when connecting to SharePoint?

This usually happens due to corrupted cached credentials in Excel, or conflicting Microsoft Entra ID Conditional Access policies that force re-authentication. Clearing your data source settings in Excel can often resolve the loop.

Can guest users access SharePoint data via Excel Power Query?

Yes, but guest access can be unreliable if external sharing and guest-user permissions are not fully configured in both your Microsoft 365 tenant and Entra ID settings.

How do I stop recurring privacy-level prompts in Power Query?

You can manage privacy levels by navigating to Data > Get Data > Query Options. Under 'Global' > 'Privacy', you can choose to always ignore privacy level settings, though this should be used cautiously in environments with strict security requirements.