Allow upload to shared folder without requring user to log in
I am working on an app that lets a OneDrive user share a folder with others such that they may read and edit files already present and upload new files to this folder.
So long as the other users are required to log in to their Microsoft accounts, this works fine, and non-logged in users can also read from the shared folder (although I have only figured out how to do that using the api.onedrive.com endpoint - not via graph.microsoft.com). Also, if I read the documentation correctly, only Office Online can let not logged in users edit shared documents.
My request is that the REST API would allow users of my app to push and post to OneDrive folders that have been shared with them without requiring them to log in to a Microsoft account.
If an approach alternative to complete anonymity exists - for instance letting the app log in via an app secret to support the non-logged in users, that would be preferable.
Lars Hammer commented
Please find more info at this stackoverflow question: https://stackoverflow.com/questions/52186529/anonymously-uploading-to-a-publicly-shared-folder-on-onedrive. It includes C# sample code (a VS test project) that illustrate my attempts so far.