Fix Excel Power Query Authentication and SharePoint Access Issues
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.

- 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.
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.
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.
Navigate to the Microsoft Entra admin center and sign in with a Global Administrator or Security Administrator account.
Go to 'Protection' and select 'Conditional Access' to view all active security policies in your tenant.
Check for policies that block legacy authentication, enforce frequent multi-factor authentication (MFA) sign-ins, or restrict guest-user access to SharePoint Online.
Adjust the policies to accommodate Power Query connections, or document the exact required permissions for your end users so they can authenticate successfully.

Clear Permissions and Reconfigure Power Query Authentication
Resetting your stored data source credentials can resolve recurring privacy-level prompts and inconsistent authentication within Excel.
Submit Detailed Feedback via Microsoft Feedback Portal
Since some legacy authentication behaviors are hardcoded, submitting detailed feedback is the most effective way to request product improvements.
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. Download WPS Office: Visit the official WPS website and download the free installation package.
- 2. Install and Open: Complete the quick installation process and open WPS Spreadsheet.
- 3. Import Your Data: Open your existing .xlsx workbooks and start analyzing your data instantly without complex account configurations.

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.




