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

OneDrive Business not supported #143

Closed
gur111 opened this issue Jan 15, 2017 · 7 comments
Closed

OneDrive Business not supported #143

gur111 opened this issue Jan 15, 2017 · 7 comments

Comments

@gur111
Copy link

gur111 commented Jan 15, 2017

Please please please add business support.

@Tekki
Copy link

Tekki commented Jan 29, 2017

Access to OneDrive for Business is technically the same with API 2.0 (@skilion: any plans to switch from 1.0 to 2.0?). But additionally the app needs a client ID from Azure AD, which costs money. For more informations look here: https://dev.onedrive.com/app-registration.htm#register-your-app-for-onedrive-for-business

@mhalano
Copy link

mhalano commented Feb 22, 2017

My college made a partnership with Microsoft so now students have access to a OneDrive account with 1TB, so this feature would be very helpful.

@snhirsch
Copy link

Seconded and thirded on the OneDrive for Business... I really really need this feature. What would have to happen for this to be implemented?

@skilion
Copy link
Owner

skilion commented Mar 11, 2017

You can fork the repo and hack src/onedrive.d to make it work with OneDrive biz. Then we can plan how to merge

@Tekki
Copy link

Tekki commented Mar 12, 2017

First of all, the authorization code from OneDrive for Business looks completely different. This is an example: https://login.microsoftonline.com/common/oauth2/nativeclient?code=OAQABAAIAAADRNYRQ3dhRSrm-4K-adpCJ4dv78miYLnKwT4_Y-wsUkJoAy6GGsJFrBQRxkSosAPLT9bRX95XWxZrCkdXCpLm8x6cNNc4RJHpsbF4Nvbnr4SphV-3y5Qd_2QG3hk8rlY0gWFRq0gEc91kQIgzxsdU-j94IrfkJmgLIy4dyqhgXvYoriEM8qauguu0nza7mVj8v3_rejMuSlEEMYEV8sZWKMJPPhX1GrLiajo3mHQyf9_x6K30jGRauEilQK5OZ6CprKmakbqCbm1hA7IGodersCglW97SeoAMZw6P5eGVUf1p41guJJASIg4YPJ5VX7XMym61CEmjr8sQH93ls4-I7SJ--ziZnToi1MhSyfeonSzMFJvBVddw7o7i1ekE8EUQJetCmKTxq_hTdA7vSaCEBIw59pLvnBagp19pSLO1Bsyd3DzcV8KpXPqL_HrhIYRM0droZuh7Gf731MQt-kD6X2SftULxH51dP0fyKKKBAnEoBXGPZopTM7Fe5eI2FIYdq4JjAyuB8xZl9L1QBAVSkNQIEdT3jaAsaUmSDJW2xFz9WGwSd1rRZztEd3Z_iWyGWLuyMkRhtvJ5R1ROoH4vCnkuFbWvxSfs1vkhB7cHSKiAA&session_state=e913d37a-1318-4804-a733-3d136edd16a0
In my Perl project (I'll upload it as soon as the code looks a bit better) I have no problems to connect to OneDrive for Business if I extract the code from the URL with an appropriate module instead of regex.
I'll take a closer look at it and give you more information.
Can you tell me how you registered your app permissions? At the moment I use your app-id for tests instead of my own.

@skilion
Copy link
Owner

skilion commented Mar 12, 2017

For registering a new app refer to: https://dev.onedrive.com/app-registration.htm

@skilion
Copy link
Owner

skilion commented Jun 15, 2017

As of 126f271 OneDrive for Business is supported

@skilion skilion closed this as completed Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants