KoenZomers / OneDriveAPI

API in .NET Framework 4.8.0, .NET Core 3.1 and .NET 6.0 to communicate with OneDrive Personal and OneDrive for Business
Eclipse Public License 1.0
109 stars 34 forks source link

Upload file to group #12

Closed Sejushi closed 5 years ago

Sejushi commented 6 years ago

Hi, I'm trying to configure your library. This is really great! I have one question. I use it with GraphApi authentication. And I have problem because i want to upload file from many user profiles to one public catalogue. The perfect scenario is: I have group (for example: https://xxx.sharepoint.com/sites/CRM/Shared%20Documents/Forms/AllItems.aspx) - how to upload file to this OneDrive location? By default I always send file to https://xxx-my.sharepoint.com/personal/xxx/Documents/) :( Can you help me?

KoenZomers commented 6 years ago

Hi @Sejushi,

at this moment SharePoint sites are not yet supported to work with, only OneDrive Personal/Consumer and OneDrive for Business. You could share a folder on OneDrive for Business with your team and access that, that will work.

Sejushi commented 5 years ago

So, as I understand, the only one option is uploading file to folder: https://(**my company)-my.sharepoint.com/personal/(my name and surname**)/Documents? I want to have no my personal data in the link when file is uploading by my colleague. I use OneDriveGraphApi because I have OneDrive for Business license.

KoenZomers commented 5 years ago

That would be correct for this moment, yes.

KoenZomers commented 5 years ago

Closing as topic seems to have been discussed.