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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PA7177
Helper II
Helper II

Connecting to Sharepoint Online

I am trying to connect to some folders and keep getting this error.

 

error sharepoint.PNG

 

I checked the data source settings and have signed in through my Microsoft account, my organizational account, and my Windows account. 

 

Any ideas?

1 ACCEPTED SOLUTION
PA7177
Helper II
Helper II

Hi everyone,

 

I was able to solve the issue by clearing ALL global data source credentials.

View solution in original post

4 REPLIES 4
PA7177
Helper II
Helper II

Hi everyone,

 

I was able to solve the issue by clearing ALL global data source credentials.

Icey
Community Support
Community Support

Hi @PA7177 ,

I have tested on my side and it works well.

sharepoint folder 3.PNG

Please do the following steps:

  1. Update the Power BI desktop to the latest version.
  2. Ensure that the account you are using to authenticate on Power BI Desktop has full access to the SharePoint data source and the file location/Permission has not change in SharePoint.
  3. On your Computer go to the following path: C:\Users\ yourusername\AppData\ Local\Microsoft\Power BI Desktop and rename the Zip folder User.zip to User1.zip. This will clear all previous user logins caches and will create a new user folder.
  4. On Power BI Desktop edit the Data source Credentials: From Home >> Edit Queries >> Data source Settings >> Edit Permissions >>Edit >> Sign in as different User (With the account you used to access the SharePoint Site) Save and close.

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

parry2k
Super User
Super User

@PA7177 hope this link helps



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thanks Parry but I still end up with the same error even when following the required format for Sharepoint Folder 

 

https://[myorganization].onmicrosoft.com/sites/[Your Site Name]/

 

There is also the difference of my root url containing "sharepoint.com" rather than "onmicrosoft.com"

 

I tried both formats and still get the unable to connect screen telling me that "Access to the resource is forbidden."

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.