OneDrive / onedrive-sdk-csharp

OneDrive SDK for C#! https://dev.onedrive.com
Other
294 stars 143 forks source link

Consideration for OneDrive for Enterprise #192

Closed lockelost closed 2 weeks ago

lockelost commented 7 years ago

Hi, I'm not sure already you are aware of this but, I think there's no possible way to list-up files for each users in the domain, with the AuthTOken of Global admin user account. I authenticate with Global Domain user (using AdalAuthenticationProvider.AuthenticateUserAsync()), and if I pass the 'baseurl' as just ' aad_target_url + "/_api/v2.0' it works but lists up the files of logged in user, the Global user. So if I change the 'baseurl' to [aad_target_url + "/_api/v2.0/users/" + userid] then the Microsoft.Graph fails (The server returns Error). I will report this to OneDrive SDK.

baywet commented 2 weeks ago

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #259 for more information