Office365-REST-Python-Client VS powershell

Compare Office365-REST-Python-Client vs powershell and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Office365-REST-Python-Client powershell
9 29
1,182 597
- 3.5%
9.1 9.9
4 days ago 1 day ago
Python C#
MIT License MIT License
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

powershell

Posts with mentions or reviews of powershell. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.
  • “In a Month of Lunches”-Like for Graph for Powershell?
    2 projects | /r/PowerShell | 8 Dec 2023
    Here is my Module that includes my functions on Azure Extension Properties. It uses the PnP.PowerShellmodule instead of the Graph SDK.
  • Runbook only runs for 3 hours then throws: The process cannot access the file Microsoft.ApplicationInsights.dll' because it is being used by another process.
    2 projects | /r/AZURE | 12 Jul 2023
    # Use system-assigned managed identity # https://mmsharepoint.wordpress.com/2023/05/04/authentication-in-azure-automation-with-managed-identity-on-sharepoint-and-microsoft-graph/ # https://pnp.github.io/powershell/articles/azureautomationrunbook.html # Connect to multiple sites # https://github.com/pnp/powershell/issues/1748 # https://robdy.io/multiple-pnp-connections/ # Prod $SourceStr = Get-AutomationVariable -Name 'SharePointSourceFolders' $Target = Get-AutomationVariable -Name 'SharePointTargetFolder' #$SourceList = $SourceStr.Split([System.Environment]::NewLine,[System.StringSplitOptions]::RemoveEmptyEntries) $SourceList = $SourceStr.Split("\n") # Commmon Foreach($Source in $SourceList){ Try{ Write-Output "Source Folder: $Source" #Dev #$SourceSiteConnection = Connect-PnPOnline -Url $SourceSiteURL -Interactive -ReturnConnection #Prod $SourceSiteConnection = Connect-PnPOnline -Url $SourceSiteURL -ManagedIdentity -ReturnConnection #Get the total Size of the folder - with versions $SourceFolder = Get-PnPFolder -Url $Source -Includes ListItemAllFields -Connection $SourceSiteConnection $SourceFolderSize = $([Math]::Round(($SourceFolder.ListItemAllFields.FieldValues.SMTotalSize.LookupId/1KB),2)) Write-Output "Source Folder Size: $Source : $SourceFolderSize" $job = Move-PnPFile -SourceUrl $Source -TargetUrl $Target -NoWait -Overwrite -AllowSchemaMismatch -AllowSmallerVersionLimitOnDestination -Force -Connection $SourceSiteConnection $jobStatus = Receive-PnPCopyMoveJobStatus -Job $job -Wait -Connection $SourceSiteConnection if($jobStatus.JobState -eq 0){ Write-Output "Job finished" $jobStatus.JobState $jobStatus.Logs $SourceFolder = Get-PnPFolder -Url $Source -Includes ListItemAllFields -Connection $SourceSiteConnection -ErrorAction SilentlyContinue if($SourceFolder){ Write-Output "Second Try because folder: $SourceFolder.Name remains" $SourceFolderSize = $([Math]::Round(($SourceFolder.ListItemAllFields.FieldValues.SMTotalSize.LookupId/1KB),2)) Write-Output "Second Try Source Folder Size: $Source : $SourceFolderSize" $job = Move-PnPFile -SourceUrl $Source -TargetUrl $Target -NoWait -Overwrite -AllowSchemaMismatch -AllowSmallerVersionLimitOnDestination -Force -Connection $SourceSiteConnection $jobStatus = Receive-PnPCopyMoveJobStatus -Job $job -Wait -Connection $SourceSiteConnection if($jobStatus.JobState -eq 0){ Write-Output "Second TryJob finished" $jobStatus.JobState $jobStatus.Logs } else{ Write-Error "Second Try Status: $jobStatus" } } } else{ Write-Error "$jobStatus" } } catch { Write-Error "An error occurred: ${Source}: $_" } # Dispose the connnection variables $SourceSiteConnection = $null Write-Output "Sleep for 2 seconds" Start-Sleep -Milliseconds 2000 }
  • Using Batch with Sharepoint Powershell
    1 project | /r/sharepoint | 5 Jul 2023
  • PowerShell for OneDrive
    2 projects | /r/sysadmin | 25 May 2023
  • Access to Another User's OneDrive (GraphAPI and Microsoft.Graph issues)
    1 project | /r/GraphAPI | 11 Apr 2023
    Reading - https://github.com/pnp/powershell/issues/277
  • My boss won’t allow linking our sharepoint site onto file explorer and it’s driving our users insane.
    1 project | /r/sysadmin | 21 Mar 2023
  • SharePoint Website in andere Umgebungen verschieben.
    1 project | /r/de_EDV | 23 Feb 2023
  • Error while extracting Sharepoint links with Python
    2 projects | /r/sharepoint | 3 Jan 2023
    The PnP PowerShell module is the one I would recommend for accessing SharePoint: https://pnp.github.io/powershell/
  • Setting up a flow around an.xlsx file located on onedrive, is it dumb?
    1 project | /r/MicrosoftFlow | 8 Dec 2022
  • how to sync folders from SharePoint to teams
    1 project | /r/sharepoint | 29 Nov 2022
    PnP is the module - it is amazing. The SP cli is a painful (but powerful) nightmare. https://pnp.github.io/powershell/

What are some alternatives?

When comparing Office365-REST-Python-Client and powershell you can also consider the following projects:

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

smletsexchangeconnector - SMLets PowerShell based Exchange Connector for controlling Microsoft System Center Service Manager 2016+

shareplum - Pythonic SharePoint

PnP-PowerShell - SharePoint PnP PowerShell CmdLets

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

ImportExcel - PowerShell module to import/export Excel spreadsheets, without Excel

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".

SP-Server-Workflow-Scanner - This workflow scanner mimics the SPO Modernization scanner functionality, in relation to the workflow scan reports. It can be run on SharePoint Server 2013 or 2016 to locate your existing classic workflows and provide information that will help you to prepare for a transformation to alternative solutions such as Power Automate. Developed by the Modern Work team from the Industry Solutions Delivery group at Microsoft.

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

office365-cli - Manage Microsoft 365 and SharePoint Framework projects on any platform [Moved to: https://github.com/pnp/cli-microsoft365]

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

ModernWorkplaceConcierge - Concierge which simplifies and automates tasks in the Microsoft 365 cloud