Office365-REST-Python-Client VS microsoft-authentication-library-for-python

Compare Office365-REST-Python-Client vs microsoft-authentication-library-for-python and see what are their differences.

microsoft-authentication-library-for-python

Microsoft Authentication Library (MSAL) for Python makes it easy to authenticate to Microsoft Entra ID. General docs are available here https://learn.microsoft.com/entra/msal/python/ Stable APIs are documented here https://msal-python.readthedocs.io. Questions can be asked on www.stackoverflow.com with tag "msal" + "python". (by AzureAD)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Office365-REST-Python-Client microsoft-authentication-library-for-python
9 5
1,182 733
- 2.7%
9.1 8.3
4 days ago 12 days ago
Python Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Office365-REST-Python-Client

Posts with mentions or reviews of Office365-REST-Python-Client. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-15.
  • Sharepoint Issue
    1 project | /r/learnpython | 1 Jun 2023
  • PowerShell, Python, or both?
    1 project | /r/sysadmin | 29 Sep 2022
    it depends, if you want script microsoft stuff like active directory powershell is the way to go, if you have to manage microsoft cloud stuff like exchange online or azure ad powershell is still probably better but you can also use python with graph api and if you need to write a more complex script python might be easier
  • SharePoint API with Certificate Auth using Python failing
    1 project | /r/learnpython | 26 Jul 2022
    I am trying to connect to SharePoint Online using Python using Certificate Authentication using https://github.com/vgrem/Office365-REST-Python-Client
  • User Access to Organization SharePoint storage via PowerShell or Python
    1 project | /r/Office365 | 13 Jul 2022
    I have tried https://github.com/vgrem/Office365-REST-Python-Client and I have tried Connect-SPOService via PowerShell.
  • Accessing SharePoint Online
    2 projects | /r/learnpython | 15 Dec 2021
    Or not.. I started checking for SharePoint libraries in Python, and this is pretty much the only thing I could find: https://github.com/vgrem/Office365-REST-Python-Client. Which I guess it is fine, if it wasn't because it seems as if 2 of the authentication methods they support are kind of old, and the third one does not suit my company's security requirements (basically, anything that requires me to bypass conditional access won't be approved).
  • O365 Python library vs directly using Graph API for enterprise RPA?
    3 projects | /r/microsoft | 14 Sep 2021
    Interesting, would the SDK be an equivalent to, for example, the Office365-REST-Python-Client, except that it is being provided by Microsoft officially?
    2 projects | /r/learnpython | 14 Sep 2021
    If Microsoft were to provide an official Python library, I would feel pretty safe and they don't seem to shy away from integration with Python, but I don't know how to narrow it down looking at their different examples. Other options developed by outside sources seem to be stuff like the Office365-REST-Python-Client, Microsoft Graph Core Python Client, etc. Is there any particular recommendation on a stable and easy-to-use library?
  • Uploading files to sharepoint
    1 project | /r/learnpython | 19 Aug 2021
    I wanted to create service principal as I read on https://github.com/vgrem/Office365-REST-Python-Client/issues/191 but it requires app domain, and I am not using one.
  • How do you read data from a OneDrive Excel file?
    1 project | /r/learnpython | 8 Apr 2021
    Couple google searches brought me to this GitHub page. https://github.com/vgrem/Office365-REST-Python-Client

microsoft-authentication-library-for-python

Posts with mentions or reviews of microsoft-authentication-library-for-python. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-11.
  • Azure SDK for Python: WAM Support in Beta/Pre-Release
    3 projects | dev.to | 11 Jan 2023
    # Title URL Accessed-On 1 Desktop app that calls web APIs: Acquire a token using WAM https://learn.microsoft.com/en-us/azure/active-directory/develop/scenario-desktop-acquire-token-wam 2023-01-11 2 Azure SDK Releases https://azure.github.io/azure-sdk/releases/latest/all/python.html 2023-01-11 3 azure-identity 1.13.0b1 https://pypi.org/project/azure-identity/1.13.0b1/ 2023-01-11 4 WAM https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/wam 2023-01-11 5 class InteractiveBrowserCredential(InteractiveCredential) https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/azure/identity/_credentials/browser.py 2023-01-11 6 Add WAM Support to MSAL for Python, for cross-language consistency #451 https://github.com/AzureAD/microsoft-authentication-library-for-python/issues/451 2023-01-11
  • OAuth Authentication
    1 project | /r/circuitpython | 8 Sep 2022
    There's solid support for authenticating to MS's servers (with device flow and everything) in Python proper using the Microsoft Authentication Library (MSAL), including device flow, but there's nothing about CP support. CP does have an Oauth2 library, but that seems to be only for accessing Google's servers.
  • Trouble uploading GitLab backups to company Sharepoint
    1 project | /r/sharepoint | 1 Jul 2022
  • Microsoft authentication
    1 project | /r/FastAPI | 24 Jan 2022
  • O365 Python library vs directly using Graph API for enterprise RPA?
    3 projects | /r/microsoft | 14 Sep 2021
    I mean, there is MSAL library for Python: https://github.com/AzureAD/microsoft-authentication-library-for-python/wiki. I do not think there are supported libraries for MS Graph, you'd have to go by interacting with the API directly, or depend on those libraries.

What are some alternatives?

When comparing Office365-REST-Python-Client and microsoft-authentication-library-for-python you can also consider the following projects:

python-o365 - A simple python library to interact with Microsoft Graph and Office 365 API

ScoutSuite - Multi-Cloud Security Auditing Tool

shareplum - Pythonic SharePoint

msgraph-sdk-python-core - Microsoft Graph client library for Python

PnP-Sites-Core - Microsoft 365 Dev PnP Core component (.NET) targeted for increasing developer productivity with CSOM based solutions.

azure-sdk-for-python - This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.

Exchange Web Services client library - Python client for Microsoft Exchange Web Services (EWS)

checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.

powershell - PnP PowerShell

devops-exercises - Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

microsoft-authentication-library-for-dotnet - Microsoft Authentication Library (MSAL) for .NET