shareplum icon indicating copy to clipboard operation
shareplum copied to clipboard

Getting site access for an app

Open ali-meesam23 opened this issue 5 years ago • 3 comments

Hi, We use sharepoint 2016/ 365. I have used this library and the code works like a charm with my credentials when running the code locally (at my work's network). I am trying to make this code work with azure function app. In sharepoint there is a way to get access to sharepoint sites using client id and client secret. is there a way to connect my azure function app to sharepoint to pull data from sharepoint folders? This way my credentials wont be used and the code can be in production.

ali-meesam23 avatar Sep 16 '20 16:09 ali-meesam23

https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs Here is the link for more details

ali-meesam23 avatar Sep 16 '20 16:09 ali-meesam23

I doesn't look like the SharePlum would work in this instance. I don't think the code uses the necessary APIs to make this work.

jasonrollins avatar Oct 08 '20 02:10 jasonrollins

Thanks for getting back to me. I decided to use automated flow along with azure blob and function app to make it work.

ali-meesam23 avatar Oct 08 '20 13:10 ali-meesam23