Forum Discussion
SharePoint List Access to resource is forbidden
Hi All,
I have googled for this issue but not seeming to find what might be causing this.
I am tying to connect to a SharePoint Online list via the Power BI desktop but keep getting an "Access to resource is forbidden" see below:
I know my user credentials has access to the site, I am the site owner, is there anything else I should be looking at?
Cheers
James
- Anonymous10 years ago
Hi james_k_apm,
The above error could occur when using wrong log-in option to connect to SharePoint.
If your site is Office365, please enter organizational credential using the third option in the above screenshot. If your site is on premise, use Windows credentials as you mentioned. In addition, make sure that you use the latest version of Power BI Desktop.
For more details about connecting to SharePoint Online list from Power BI Desktop, please review this similar article: https://support.office.com/en-us/article/Connect-to-a-SharePoint-List-Power-Query-3226f248-f8b3-4777-82ce-b4ed04dedaaf?ui=en-US&rs=en-US&ad=US .
Thanks,
Lydia Zhang
28 Replies
- AnonymousNot applicable
Hi james_k_apm,
The above error could occur when using wrong log-in option to connect to SharePoint.
If your site is Office365, please enter organizational credential using the third option in the above screenshot. If your site is on premise, use Windows credentials as you mentioned. In addition, make sure that you use the latest version of Power BI Desktop.
For more details about connecting to SharePoint Online list from Power BI Desktop, please review this similar article: https://support.office.com/en-us/article/Connect-to-a-SharePoint-List-Power-Query-3226f248-f8b3-4777-82ce-b4ed04dedaaf?ui=en-US&rs=en-US&ad=US .
Thanks,
Lydia Zhang- ToddChitt
Super User
What if "Organizational Account" is not listed? My screen shows Anonymous, Windows, and Micrsoft Account as the three sections on the left.
FYI: I'm logged in to Power BI with my Organizational account, and I'm connecting to (ar attempting, anyway) a Sharepoint online site/list that requires my organizational account credentials.
- AnonymousNot applicable
I had a somewhat similar problem. I was trying to connect to an Excel file I had saved on Sharepoint. I tried to connect using the "Sharepoint folder" option, but none of the different authentication methods I tried worked. ToddChitt I had the same issue as you where I was not seeing an "Organizational Account" option.
I got it to connect after reading this post. What I did was use the Web connector and enter the full URL where the excel sheet was located (i.e. http://companyname.com/sites/sitename/foldername/filename.xlsx). Once I did that then the "Organizational Account" option appeared and I was able to connect to the excel file.
If you are trying to connect to a list I would try the same method, just change the URL to the site where the list is located and see if that works.
- james_k_apmNew Member
Thanks Lydia,
That was all I needed, once I used the Organisational Credentials it went through fine.
Cheers
James
- LimaNew Member
Hello, Lydia.
I'd have the same problem, but when I choose the option Organizational Account and try to log in with my credentials the message below appears:
"invalid_request: AADSTS50000: There was an error issuing a token.
Trace ID: d33114c9-4316-4808-9dc5-7bb8f2536b2b
Correlation ID: 026993e0-7f5b-4831-bf0f-4984a9ddaa53
Timestamp: 2016-10-04 19:26:47Z."Could you help me?
- LimaNew Member
- AnonymousNot applicable
You can reset your data connection by following below steps,
File --> Options & Settings --> Data source settings --> select your data source --> click on clear permission.
Now when you try to connect your data source such as sharepoint list, it will allow you to reneter your credential. select the 3rd option "Windows" while entering your credentials.
- Colin_BroadspecNew Member
The reason why Access was denied was due to user password change required by my organisation every 6 months
Once I reset my credentials with my new password all worked fine
- AnonymousNot applicable
Anonymous I had this problem as well, when using Organizational Account I was able to sign in but then got an error "we couldn't sign you in with the current credentials". I had to delete all permissions and then edit credentials again for all data sources. Then I was able to apply changes.
- AnonymousNot applicable
Thank you for the help!
- AnonymousNot applicable
- go to home
- edit queries
- Click on Data source Settings
- edit permissions
- give ur organisatio credentials
- good to go :smileyhappy:
- michalinastaFrequent Visitor
Hi,
thank you for your answer!
What helped was editing global permissions although the dashboard was using data sources in current file only.
regards,
Michalina
- AnonymousNot applicable
many thanks for this, I tried many differents things but this one worked :)
- JoeFox
Advocate II
I've had this problem a few times and have always just done the following:
In Power BI desktop version, go File > Options and settings > Data source settings
Then, highlight the data source you are trying to connect to and select 'Clear permissions' and then select 'Delete'.
It's a pain having to do this, but I find it is a reliable way to get past the dreaded 'forbidden' message. Also, if other reports used the data source connection that you just deleted, when you open the report again you may well have to authenticate again.
- AnonymousNot applicable
Thanks ... this worked for me
- AnonymousNot applicable
This worked for me too.
Thanks JoeFox
- czalmeRegular Visitor
This problem makes me crazy. I run into all the time. I never get to work in Power BI because I spend all my time just trying to get it. Then it gets put to the side for another six months -- I'm going on two years of this nonsense. In February, I finally got a Microsoft expert to help me, we got in, by clearing the credentials. I got in one other time and -- today -- the same problem has once again reared its ugly head and I can't seem to get past it.
- I'm trying to access a SharePoint list
- I've cleared all credentials as per my earlier instructions with Microsoft.
- I choose Web
- I choose Organizational account
- I paste my URL
- It says I'm not signed in
- I choose Connect and it says the current user isn't signed in.
- I go back.
- There is the URL with basic selected
- I choose enter and it takes me back to Anonymous
- I choose Organizational account
- This time I choose "Sign In"
- Tells me I'm being signed in
- I pick my organization account
- Takes me to my sign in page and does the authentication
- Now it says you are currently signed in -- which I have been all along and invites me to sign in as a different user.
- Just for the heck of it, I select sign in as a different user and I get Access_denied: Access denied.
This is infuriating and a huge waste of my time to keep using a process that does not work. Any ideas??? Please????????????
- chanwuleeNew Member
After I change windows login password, this happened to me.
Windows login password change will update login information to Office365 Apps and Power BI desktop as well.
But it does not update login information from Power BI desktop to your sharepoint site.
1. File - Options and settings - Data source settings
2. (select the data source) Edit permissions... - Edit
3. Select Microsoft Account (because I login to sharepoint using Microsoft Account, Office365)
4. You will see your login condition just below site address. Press Sign in button just below it.
5. After sign in, save and close.
6. If you have multiple connections, you have to do it for all connections.
I hope this solve your problem.
- AnonymousNot applicable
Well done mate, worked like a charm.
- RamyaKanaka
Microsoft Employee
Hi,
My Password is all updated and I am using Organisational account to connect to the excel on sharepoint. But i am still getting "Access to resource if forbidden" error. Any help please?
Thanks,
Ramya
james_k_apm wrote:Hi All,
I have googled for this issue but not seeming to find what might be causing this.
I am tying to connect to a SharePoint Online list via the Power BI desktop but keep getting an "Access to resource is forbidden" see below:
I know my user credentials has access to the site, I am the site owner, is there anything else I should be looking at?
Cheers
James
- martushaNew Member
I have the same issue.
Logged into Power BI Desktop with my O365 account, however, I want to open on-premises SharePoint List as a data source. I place site URL, Windows login, but always got the error: Unable to connect. Details: "Access to the resource is forbidden."
Power BI desktop client updated to the latest version.
Any other suggestions?
thanks,
Marta
- michalinastaFrequent Visitor
I have similar issue with the erros "Access to the resource is forbidden".
I was sucesfully using Power BI connected to the Sharepint folder (for 3 weeks) and yesterday I've opend Power BI desktop and after refreshing my Dashboard I've received this error.
I was trying to fix it by changing the microsoft password (it was suppose to expire in 11 days). I also logged in with organizational account and tried windows account as well. I even downloaded the newest version of Power BI Desktop. Nothing helped. The error occures while trying to refresh the data.
I'm the owner of this SharePoint folder.
I would appreciate any support in this matter!
- AnonymousNot applicable
Hi Pros,
Does anyone know how to enable my colleage to refresh data on Excel(within the Power BI services)? the data sources come from a file was saved on SharePoint. We are using Office 365 rather than Power BI Desk, my colleage and I both can access to the SharePoint folder but when my colleage refresh data on Excel (Power BI), the error message shows: "[DataSource.Error]Could not find a part of the path:xxxxx." It looks like a file path access error, or a gateway for on-premises?
Does anyone got experiences on how to get data resources which enable other users to refresh data resource?
Thanks a lot