Unable to access SharePoint List in SSRS Report Builder

%3CLINGO-SUB%20id%3D%22lingo-sub-1736181%22%20slang%3D%22en-US%22%3EUnable%20to%20access%20SharePoint%20List%20in%20SSRS%20Report%20Builder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1736181%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20choosing%20the%20Microsoft%20SharePoint%20List%20as%20the%20connection%20type%20in%20my%20data%20source%2C%20entering%20the%20correct%20URL%20for%20our%20SP%20Site%2C%20going%20to%20Credentials%20and%20setting%20to%20prompt%20(as%20there%20is%20no%20option%20for%20this%20connection%20type%20to%20use%20Windows%20Authentication)%20when%20I%20click%20on%20Test%20Connection%20I%20get%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EServer%20was%20unable%20to%20process%20request.%20---%26gt%3B%20Access%20is%20denied.%20(Exception%20from%20HRESULT%3A%200x80070005%20(E_ACCESSDENIED))%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20not%20only%20have%20access%20to%20this%20site%20but%20I'm%20the%20Site%20Owner.%26nbsp%3B%20I%20should%20never%20be%20denied%20access.%26nbsp%3B%20I%20don't%20even%20get%20to%20the%20option%20of%20selecting%20the%20list%20as%20the%20Build%20is%20greyed%20out.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20use%20SSRS%2FReport%20Builder%20all%20the%20time%20with%20SQL%20data%20but%20need%20to%20grab%20some%20data%20in%20SP%20for%20a%20much%20needed%20COVID%20report.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20if%20I%20enter%20my%20Domainname%5Cusername%20and%20password%20and%20mark%20as%20use%20windows%20it%20doesn't%20work.%26nbsp%3B%20Literally%20no%20options%20I%20choose%20in%20Credentials%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESQL%20is%20version%202014.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Contributor

After choosing the Microsoft SharePoint List as the connection type in my data source, entering the correct URL for our SP Site, going to Credentials and setting to prompt (as there is no option for this connection type to use Windows Authentication) when I click on Test Connection I get:

 

Server was unable to process request. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))


I not only have access to this site but I'm the Site Owner.  I should never be denied access.  I don't even get to the option of selecting the list as the Build is greyed out.

 

I use SSRS/Report Builder all the time with SQL data but need to grab some data in SP for a much needed COVID report.  

 

Even if I enter my Domainname\username and password and mark as use windows it doesn't work.  Literally no options I choose in Credentials work.

 

SQL is version 2014.  

 

7 Replies

@Mercedes Green did you find a solution to this problem ? 

I'm trying to connect to sharepoint online but can't find the right connection string format

 

I tried https://mysharepoint.sharepoint.com/sites/SPsiteName

 

 

 

Hello @hveillette ,

 

Try it with the connection string from

https://www.connectionstrings.com/sharepoint/

 

Olaf

@olafhelper We cannot pass individual passwords in the connection strings.  It should work with Windows Authentication so passwords are not stored in the connections.

@hveillette As with many Microsoft Services that don't work as documented, I give up and move on.  Sad really.

@olafhelper Thanks for the hit but i Guess that Cdata is a paid third party.

Theses connections string seems to be used with this component.

 

I'm trying to use the Sharepoint list datasource option in Report builder or visual studio 2019 (SSRS) but nothing works

@hveillette I think it's "by design" so customers are forced to pay $$$$ to get Power BI for all users.

Come on really. Here we are 20 years on and Im still using access to generate Reports from Sharepoint List that contains multiple attachements (photo's) that I want in my simple 1 page Report/Record.