Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
abar33
Frequent Visitor

Sharepoint connection internal server error

Hi Community.

Please, can you help me with the next issue?

I'm working with a model that contains an excel file i share with collegues to update the info. The excel is sync on onedrive/sharepoint and i'm traying to connect to it from Power Bi desktop.

 

To connect to sharepoint FILE i use the URL. 

https://company-my.sharepoint.com/personal/my_person/

 

I checked that my organizations credentials are rigth, i´m logged into 365 from power BI.

It just keep showing me the next error: 

 

UNABLE TO CONNECT.

Details: "Web.Contents failed to get contents from 'https://MYCOMPANY-my.sharepoint.com/personal/MY_PERSON/_api/web/lists/getbyid('40ca0968-4afb-4b0e-b8...' (500): Internal Server Error"

 

I had looked into all solutions i could find on the internet about this issue with no luck so far.

Please, what can i do? i had tried several things. Got the latest Power BI desktop version thinking it migth be the cause ( in an early version i had no problem connecting once ).

 

Please help! 🙂

Kindest Regards.

Arturo 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@abar33 ,

To connect to Excel stored in OneDrive for business, please get web url following the guide in this article.

To connect to SharePoint online Excel, please enter the following URL in web connector of Power BI Desktop.

https://XXX.sharepoint.com/sites/XXX/Shared%20%Documents/yourfolder/excelname.xlsx

To connect to sharepoint folder in Power BI Desktop, please get root url of your SharePoint site and enter the URL in SharePoint Folder connector, see https://powerbi.tips/2016/09/loading-excel-files-from-sharepoint/.

To connect to OneDrive for business folder, please check my reply in this similar thread.


Regards,

Lydia

View solution in original post

3 REPLIES 3
abar33
Frequent Visitor

Thank you v-yuezhe-msft Solved.

Best! 

Arturo.

 

Anonymous
Not applicable

 
Anonymous
Not applicable

@abar33 ,

To connect to Excel stored in OneDrive for business, please get web url following the guide in this article.

To connect to SharePoint online Excel, please enter the following URL in web connector of Power BI Desktop.

https://XXX.sharepoint.com/sites/XXX/Shared%20%Documents/yourfolder/excelname.xlsx

To connect to sharepoint folder in Power BI Desktop, please get root url of your SharePoint site and enter the URL in SharePoint Folder connector, see https://powerbi.tips/2016/09/loading-excel-files-from-sharepoint/.

To connect to OneDrive for business folder, please check my reply in this similar thread.


Regards,

Lydia

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors