I have a lambda function (currently Node.js, but could be turned into .NET Core) that runs on a schedule. I would like to, as part of its work, to upload a file to a SharePoint Online document library. What would be the best way to do this, especially considering authentication?
3
-
Hi, were you able to implement this?MGJ-123– MGJ-1232020-07-10 10:58:09 +00:00Commented Jul 10, 2020 at 10:58
-
1Yes, using Graph API.Ricardo Peres– Ricardo Peres2020-07-10 11:01:29 +00:00Commented Jul 10, 2020 at 11:01
-
What is maximum file upload have you tried? Did you face any challenges?anomepani– anomepani2021-06-24 13:02:08 +00:00Commented Jun 24, 2021 at 13:02
Add a comment
|
1 Answer
I would use the Microsoft Graph APIs to upload files into Document Libraries of SharePoint Online
2 Comments
Ricardo Peres
Thanks, and how would you solve the authentication problem - connecting from an unauthenticated service?
NickHodge
Daemon access auth is never easy ... The other option is the PNP Libraries for SharePoint are going to support .NET Core this month. These use CSOM/REST endpoints and do File Uploads.