Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

OneDrive for Business - New Apps will not work due to Office 365 Discovery API Deprecation #164

Closed
Suryaphalle opened this issue Sep 3, 2019 · 2 comments

Comments

@Suryaphalle
Copy link

Hi,

I was started using onedrivesdk for uploading and downloading files to the one drive personal account. I was able to upload and download files using same sdk.
But when i used same sdk for business account it shown me error.

The error message you get in the console unfortunately and frustratingly buries the underlying error, which I had to debug through to find. The actual error message turns out to be:

"message" : "The app ID is blocked for access of the O365 Discovery Service."
"code" : "101, Microsoft.Online.Services.O365Discovery.O365DiscoveryException"

After seraching for problems solution come to know the discovery api
'https://api.office.com/discovery/' is being deprecated.

So i want to know that, how can I access my business account using sdk.

@earonesty
Copy link

Onedrive for business cannot, trivially, use the sdk. While it is actually possible to use the graph api as the base url, and get some stuff to work.... not enough will work that you can do anything meaningful. Use requests and requests_oauthlib directly... works much better, and the graph api is documented pretty well.

@baywet
Copy link
Member

baywet commented Oct 2, 2024

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

@baywet baywet closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants