is it possible or not Upload file to SharePoint Online from external application?

I'm looking to use some JavaScript with Jquery or angular to upload files from a asp.net or from another online app like CRM.

I manage to read data without problems, but look like uploading is throwing permission errors

is there any good tutorial\video\ git sample out there?

  • Can you provide details on how you read data? How do you authenticate into SPOnline from JS? – Prakash - Crow Canyon May 15 '16 at 14:38
  • Is below given solutions works for you? – Hardik May 16 '16 at 7:33
  • Is given solutions works for you? – Hardik May 16 '16 at 10:32

You can use jquery & REST API combined to upload a file to SharePoint online.

Below is the best example explained on MSDN:-

Upload a file by using the REST API and jQuery

  • 1
    What about authentication? It's an external application. – Derek Gusoff May 15 '16 at 18:09
  • Does it work for both online and on-prem? – SPforCRM May 16 '16 at 0:18
  • It is using REST Api... It will work online for sure.. – Hardik May 16 '16 at 1:11

You may want to go down with CSOM .NET route which enables you to pass credentials for SharePoint online which is not possible with JSOM or REST API. All the best!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.