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.
source share