cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

Error connecting to SharePoint online

Power BI desktop fails to connect to a sharepoint online datasource with the following error:

 

DataSource.Error: SharePoint: Request failed: <URL of my sharepoint site.xlsx>/_api/contextinfo

 

Does anyone know what this error means? Seemed to be working fine yesterday and before but since I have updated Power BI Desktop this error keeps showing up.

8 REPLIES 8
Frequent Visitor

I had this error and was just able to fix it. Mine occurred from successfully referencing an excel file in OneDrive, then needing to change the folder that the file was in, but keeping the file name the same. 

 

When I cleared credentials and resigned in I still got the error, but when I clicked "Change Source" in Data Source Settings and put in the new file location path and then cleared permissions and re-signed in, it worked.

Frequent Visitor

Hello, 

I'm getting the same error, as I have been tried to clear permission and log in again with my credentials but still not working.

Any suggestion?

 

Frequent Visitor

Seeing the same thing this morning with data sources that were working fine last night, but in my case I haven't updated PBI Desktop to the April version yet...

 

Strangely, I can access some items on OneDrive just fine - it's when I try to join queries that things are throwing a rod...

Frequent Visitor

...and now we're back in business. A mystery wrapped in an enigma, I guess!

Mine still not working. Checked with a colleague and his is working fine. Not having problems accessing OneDrive or SPO. Mystery continues...

Hi @Elsie14,

Do you connect to Excel file on SharePoint Online site? If so, I test the scenario as yours, I am able to connect to Excel file on SharePoint Online site in the April version of Power BI Desktop.

Are you the owner of the Excel file and have you checked that if there are any issues about your account?

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I do. However it seems completely random. About an hour ago it worked (did not change anything).  Hoever if I move the folder to another destination on Sharepoint Online (where I have access) I get the same error again.

Hi @Elsie14,

How about clearing credential of SharePoint Online source in your PBIX file and then connecting to it? And is there any possibility that your password is expired?

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors