Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Access denied - Connect to a xls file from a Sharepoint site

Hello everybody,

I read many posts about Sharepoint connection in this forum...

No one related (and solved) my problem.


I want import datas froma XLS files which is on a Sharepoint site (I am allowed - I'm able to work on these files on Sharepoint).

I put the URL on the adress bar (the adress of the site, not the adress of the folder which have the files - why?), it ask me my username and password...and "access denied" you know why?


What do I do wrong? It misses something?

Community Support
Community Support

Hi bapt69,


According to your description, when connecting to Excel file published in SharePoint site and typing credential, the “Access denied” error throws out, right?


In your scenario, you mentioned you have access permission to Excel, but it doesn’t mean that you have permission to access the site exactly. You can type the site URL in browser to see if you are able to access.


To get Excel data, you can ask SharePoint administrator grant you permission to access the folder which contains the Excel file. Then you can type URL which points to the folder in Power BI.


If you have any question, please feel free to ask.


Best regards,
Qiuyun Yu

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

Hello, thanks for your answer


I have the permission to access the entire fold (not the entire site).

I try with a site which I have the permission (I think I have) and I get the same message.


So, I try with an other way...I used "Web" instead of "Sharepoint"...and it's good!! All is updated too when I modifiy a data.

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!


Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors