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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
GustavoAguilar
Regular Visitor

I need help! Server error 500 from SharePoint, but why if I have all access to the Onedrive Folder?

I am currently working in a new office, and there are some issues that need to be addressed. Here's the context:

My boss has been working with Power BI alone for quite some time. However, now I will be working with her. She has a Power BI file called "PowerBiFile.pbix" stored in her OneDrive folder, and I have been given permissions to create and update files in that folder. So far, everything is good.

The PowerBiFile.pbix file retrieves data from Excel files located in the same OneDrive folder. I also have permissions to access and modify these Excel files.

To fetch the data in Power BI, we use the following methods:

  1. For individual files: Source = excel.Workbook(web.content("Https://Bussinessgroup-my.sharepoint.com/personal/myBossName_com/folderName/otherFolderName/excelFil...), null, true)

  2. For folders containing multiple files: Source = Sharepoint.files("Https://Bussinessgroup-my.sharepoint.com/personal/myBossName_com)

    OtheStep= Table.SelectRows(#'Source', each Text.Contains([Folder Path], "FolderName"))

When my boss makes changes, everything works perfectly fine, and I am able to see all the information without any issues.

However, when I try to make changes myself, such as duplicating a column, it allows me to do so. But when I attempt to save the changes and refresh the data, an error occurs with the following message:

OLE DB or ODBC error: [DataSource.Error] SharePoint: request failed: The remote server returned an error: (500) Internal Server Error. (An error occurred while processing this request).

My question is, why does this error occur even though I have permissions in the OneDrive folder? What can I do to work with these files in Power BI? Additionally, what other kinds of permissions should my boss grant me, considering that I already have access to the OneDrive folder?


Captura de pantalla 2023-07-10 134501.pngCaptura de pantalla 2023-07-10 135342.pngCaptura de pantalla 2023-07-10 1356421.png

 

0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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