How to Fix Power Query Not Importing OneDrive Excel Files
Question details
The user is unable to import an Excel workbook from a OneDrive sharing link using Power Query, resulting in missing sheets or failed connections.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to connect and import data from a shared OneDrive Excel file into Power Query.
- Observed behavior
- The workbook sheets fail to appear in the Power Query navigator due to authentication changes, browser link formatting issues, or the use of unsupported software like Excel 2010.
Ensure you are using a supported version of Microsoft Office (newer than Office 2010) and verify that your Microsoft account has direct read permissions for the shared OneDrive workbook.
Use a Direct Downloadable File Path in a Supported Excel Version
Use this method to bypass browser link authentication issues by extracting the direct file path from the Excel desktop application.
Excel 2010 is no longer supported by Microsoft, meaning its Power Query add-in cannot handle modern OneDrive authentication protocols. To resolve this, you must use a modern Excel version and a direct file path rather than a standard web sharing link.
Open a currently supported version of Microsoft Excel, such as Microsoft 365 or Office 2021, as Office 2010 reached its end of support on October 13, 2020.
Open the target shared workbook in the Excel desktop app, navigate to 'File' > 'Info', and click the 'Copy path' button.
Paste the copied link into a text editor (like Notepad) and delete the '?web=1' parameter from the very end of the URL.
Go to the 'Data' tab, select 'Get Data' > 'From Web', paste your modified direct URL, and sign in with your organizational or Microsoft account when prompted to load your sheets.

Seek Assistance in the Power Platform Community
If you are dealing with advanced automation scenarios or Power Apps integration that fails with OneDrive files, consult the official Microsoft community.
Upgrade to WPS Office for a Modern, Hassle-Free Spreadsheet Experience
Since Office 2010 is no longer supported and can cause frustrating compatibility or connectivity issues, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative for managing your spreadsheets and cloud files effortlessly.
- 1. Download and Install: Visit the official WPS website and download the free WPS Office suite for your device.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheets and open your local or cloud-stored Excel files directly.
- 3. Edit and Share: Use the built-in tools to manage your data and securely share files via WPS Cloud.

Frequently Asked Questions
Why does my OneDrive sharing link not work in Power Query?
Standard OneDrive sharing links often direct to a web viewer interface rather than the raw file data. Power Query requires a direct file path to successfully read the workbook data without browser authentication interfering.
Can I still use Power Query reliably in Excel 2010?
No. Support for Office 2010 ended on October 13, 2020. Its Power Query add-in is outdated and can no longer reliably authenticate with modern cloud services and sharing protocols used by OneDrive or SharePoint.
How do I fix authentication errors when importing from OneDrive?
Ensure you are using the 'Organizational account' sign-in option in the Power Query credentials prompt, and verify that your specific user account has direct read permissions for the shared file.




