Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consideration for the OneDrive Enterprise Application. #26

Open
lockelost opened this issue Nov 4, 2016 · 0 comments
Open

Consideration for the OneDrive Enterprise Application. #26

lockelost opened this issue Nov 4, 2016 · 0 comments

Comments

@lockelost
Copy link

Hi, I'm not sure already you are aware of this but, Currently,

  • 'GetAuthorizationCodeRequestUrl()' generates URL for MSA authentication end point only. It should generate URL for OneDrive for Enterprise (OAuthConstants.ActiveDirectoryAuthenticationServiceUrl) when it's for the Enterprise.
  • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant