Fix Power BI 404 not found error when connecting SharePoint Online List as Data Source


You encounter 404 not found error while connecting to SharePoint Online List (Microsoft Office 365) data using Power BI report.
The logged in organizational account credentials are correct and has necessary access to the SharePoint list.
Power BI error - The remote server returned an error 404 Not Found.png
Power BI error - The remote server returned an error 404 Not Found
Unable to connect

We encountered an error while trying to connect.

Details: "Microsoft.Mashup.Engine1.Library.Resources.HttpResource:
Request failed:
OData Version: 3 and 4, Error: The remote server returned an error: (404) Not Found. (Not Found)
OData Version: 4, Error: The remote server returned an error: (404) Not Found. (Not Found)
OData Version: 3, Error: The remote server returned an error: (404) Not Found. (Not Found)"

⛏️ How to fix Power BI 404 not found error ?

Connect by using only the root URL of SharePoint site as Data Source in Power BI Desktop and do not include the list, library, folder, page, listitem in the URL.

✖️ https://c2c.sharepoint.com/sites/SPWork/Lists/TestList

✔️ https://c2c.sharepoint.com/sites/SPWork


✖️ https://c2c.sharepoint.com/sites/SPWork/subsite1/Lists/PowerBIList

✔️ https://c2c.sharepoint.com/sites/SPWork/subsite1



Once the site is connected, you can select and preview the List data on the Navigator screen. Here you can load and transform the data fetched from SharePoint list, even use Power Query.

If you face error "Access to the resource is forbidden", refer here for fix.

Power BI - Load Transform SharePoint List data.PNG
Power BI - Load Transform SharePoint List data


Use the same approach to connect to a SharePoint Online site document library.
Advertisements
Try Out Code2care Dev Tools:

Advertisements



Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Advertisements


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency