Silent Authentication for OneDrive

I am writing a program for a client and am in the repositories on my server and, as such, decided to go with cloud storage. Since the web application is located in VB.NET, they choose to work with OneDrive.

Looking at their APIs, it seems that OneDrive wants the user to log in to their personal Microsoft account and upload files to their own OneDrive. My client wants them to upload files to their OneDrive business using “silent authentication” performed on the fly when the file collector loads.

The API document does not help much in this regard ( WL.init , WL.login )

TL DR How do you authenticate your OneDrive account for business, not users using the code.

+3
source share
2 answers

OneDrive for Business seems to be a completely different personal OneDrive system. You must use the SharePoint API to access the tins: http://blogs.msdn.com/b/sharepointdev/archive/2013/08/13/access-skydrive-pro-using-the-sharepoint-2013-apis.aspx

No filepicker from the looks of things, which was the only thing I needed!

0
source

OneDrive for Business has a preliminary REST API for performing basic file / folder operations: http://msdn.microsoft.com/en-us/library/office/dn605900 (v = office.15) .aspx

In doing so, you can authenticate users using Azure AD and gain access to their business data.

0
source

Source: https://habr.com/ru/post/981778/


All Articles