msgraph-sdk-python-core icon indicating copy to clipboard operation
msgraph-sdk-python-core copied to clipboard

is msgraph-sdk deprecated or not?

Open omonimus1 opened this issue 2 years ago • 3 comments

Users are confused by the current status of sdk. it looks like (from public info), that msgraph-sdk is deprecrated, but still DOcumentation and tutorial exists about it on Microsoft learn. https://learn.microsoft.com/en-us/graph/tutorials/python?tabs=aad&tutorial-step=2

And then, we have this current package, msgraph-core, which is Still in preview => And people usually don't go on prod with non stable packages set in preview.

omonimus1 avatar May 06 '23 07:05 omonimus1

Hey @omonimus1

Apologies for the confusion. This package, msgraph-core was our initial effort to create a python SDK for Microsoft Graph. It was basically a wrapper around the requests library and handled cross cutting concerns such as authentication,redirects,retries and telemetry. Over time, we moved to an approach that favored autogenerated models corresponding to graph resources and request builders as opposed to request builders.

As such, this package is no longer meant to public use and only serves as a dependency for the full SDK which can be found here. I hope this makes things a bit more clear.

samwelkanda avatar May 09 '23 12:05 samwelkanda

So this is now not for produxtion use and meant only as a dependency for the full SDK. The full SDK is listed as only a preview and not to be used in Production because there may be breaking changes.

What is the current Python solution that may be used in production?

bwosborne2 avatar Oct 20 '23 11:10 bwosborne2

Hello, this is a bit off topic. apologies

Here is what I am hoping to do. Write a python script that checks my OneDrive home edition for duplicate files. Is the python SDK going to be useful for this or am I misunderstanding its purpose? I tried https://graph.microsoft.com/v1.0/me/drive/root/search(q='finance')?select=name,id,webUrl example and it does some neat stuff. But I get it to find my duplicates in OneDrive?
Thanks,

V

vivekvp1 avatar Feb 12 '24 16:02 vivekvp1

thanks for reporting this issue, we have since released a new version of the SDK which this issue doesn't apply to. We encourage you to migrate to the new version and open a new issue if you still need help

baywet avatar Apr 25 '24 15:04 baywet