1

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? Commented Jul 10, 2020 at 10:58
  • 1
    Yes, using Graph API. Commented Jul 10, 2020 at 11:01
  • What is maximum file upload have you tried? Did you face any challenges? Commented Jun 24, 2021 at 13:02

1 Answer 1

2

I would use the Microsoft Graph APIs to upload files into Document Libraries of SharePoint Online

Microsoft Graph: Uploading Files to SharePoint

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, and how would you solve the authentication problem - connecting from an unauthenticated service?
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.