Hi all
I have a question that I would like some input on. I thought that it was straight forward, but currently it seems rather tricky to actually be able to get data from an Excel sheet from a document folder in Office 365 Sharepoint and into a SQL Database using SSIS.
The setup is as follows.
I have a Office 365 Sharepoint setup, with a set of Subsites - one for each Customer Area.
So Customer1@company.com have access to https://company.sharepoint.com/customer1
On the site there is a document folder where the user can upload their timesheets. Ex. Timesheet_Jan2016.xls ... Timesheet_Nov2016.xls is stored in the document library called
https://company.sharepoint.com/customer1/DocumentsForUpload/Forms/AllItems.aspx
So question is now, how can I, from the Server running SSIS and SQL create a package that is allowed to access the folder and extract the data. I know how to design the SSIS flow to cycle through the files and import, but it's more about actually getting to the folder in Sharepoint. I have seen examples where, instead of a document folder, the user is directed to a OneDrive Location and then on the SSIS/SQL server the SQL agent account is then granted access to the OneDrive folder and after syncronizing it to the local OneDrive folder, it can then be accessed through SSIS. This however seems very cumbersome and at the same time, the OneDrive Sync seems only to be initiated once the agent account is logged on to the desktop..
Alternative i'm thinking of just booting up a FTP, join it to the Azure AD, grant the users access to respective folders on the FTP and then redirect the users to the FTP instead of using the Document folder
\Christian