OLEDB Connection string with authorization
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-07-21 11:20 AM
Hi,
I use OLEDB to connect the SharePoint List table. Before first connection I have to open SharePoint List on IE to get authorization.
Do you know the way to get authorization directly in the connection string?
Do you know other tool that helps me download data from table without opening Sharepoint list using IE?
Connection string:
"Provider=Microsoft.ACE.OLEDB.12.0;WSS;IMEX=0;DATABASE=" & [C_Constants.T_SHP_Summary_List_Name]& ";LIST=" & [C_Constants.T_SHP_Summary_List_ID] & ";
Thank you in advance
------------------------------
Mateusz Wojcik
RPA Programist
Rockwell Automation
Europe/Warsaw
------------------------------
I use OLEDB to connect the SharePoint List table. Before first connection I have to open SharePoint List on IE to get authorization.
Do you know the way to get authorization directly in the connection string?
Do you know other tool that helps me download data from table without opening Sharepoint list using IE?
Connection string:
"Provider=Microsoft.ACE.OLEDB.12.0;WSS;IMEX=0;DATABASE=" & [C_Constants.T_SHP_Summary_List_Name]& ";LIST=" & [C_Constants.T_SHP_Summary_List_ID] & ";
Thank you in advance
------------------------------
Mateusz Wojcik
RPA Programist
Rockwell Automation
Europe/Warsaw
------------------------------
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-07-21 01:02 PM
Hi Mateusz,
You might take a look at the MS Graph for SharePoint integration available on the DX. It includes several actions for working directly on SharePoint Lists.
https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-graph-api---sharepoint
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
You might take a look at the MS Graph for SharePoint integration available on the DX. It includes several actions for working directly on SharePoint Lists.
https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-graph-api---sharepoint
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-08-21 10:54 AM
Hi Eric,
Thank you for your help.
MS Graph is right now not an option for us.
I am looking for other solution.
Kind regards
------------------------------
Mateusz Wojcik
RPA Programist
Rockwell Automation
Europe/Warsaw
------------------------------
Thank you for your help.
MS Graph is right now not an option for us.
I am looking for other solution.
Kind regards
------------------------------
Mateusz Wojcik
RPA Programist
Rockwell Automation
Europe/Warsaw
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-08-21 12:21 PM
Hi @Mateusz Wojcik,
Are there any API's available for performing the task?
------------------------------
Ritansh Jatwani Senior Consultant
Consultant
EY
Gurgaon
*If you find this post helpful mark it as best answer
------------------------------
Are there any API's available for performing the task?
------------------------------
Ritansh Jatwani Senior Consultant
Consultant
EY
Gurgaon
*If you find this post helpful mark it as best answer
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-08-21 03:17 PM
I'm not sure there's any way to work around the browser prompt w/o moving to Graph or using some of the older SharePoint access libraries. I did come across a really old post shown below, but it sounds like this may be what you're already doing. There seem to be quite a few posts online over the years of people trying to include credentials in an OLEDB connection string for connecting to a SharePoint list, but not many answers. 😞

Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-08-21 03:22 PM
You mentioned Graph wasn't an option. What about the default SharePoint REST API?
https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service?tabs=csom
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service?tabs=csom
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
