The class GraphClient
is no longer available in the latest msgraph-core
PyPI package. Seeking Alternatives for Microsoft Graph API App-only Authentication in Python
#462
Replies: 2 comments 2 replies
-
I made a swift operation and now to workaround this issue I have hard-coded a previous version of the |
Beta Was this translation helpful? Give feedback.
-
The examples at https://github.com/microsoftgraph/msgraph-sdk-python/blob/main/docs/authentication_samples.md or https://github.com/microsoftgraph/msgraph-sdk-python cover your question about the app-only authentication. |
Beta Was this translation helpful? Give feedback.
-
In my project, I've been utilizing the following code snippet to initialize the Microsoft Graph client with app-only authentication:
I'm reaching out to the community to explore alternative approaches or libraries for authenticating with the Microsoft Graph API in Python. If anyone has suggestions, recommendations, or knows of alternative libraries that offer a similar functionality for app-only authentication with the Microsoft Graph API, your insights would be immensely valuable. I use this method primarily to retrieve members of a Microsoft Entra ID group as you can see in following method implementation.
Additionally, I'd appreciate advice on how to stay informed about future changes to the msgraph-core package. Specifically, I want to avoid issues arising from such as the retirement of the GraphClient` that impacted my production environment.
Is there a recommended source or channel to follow for timely updates on such changes?
Thank you all in advance for your expertise and assistance!
Beta Was this translation helpful? Give feedback.
All reactions