Office365-REST-Python-Client
Office365-REST-Python-Client copied to clipboard
Microsoft 365 & Microsoft Graph Library for Python
Hi I am implementing document level security. I need to read for a file which Groups have read permissions. I have checked examples and dig a bit in the code...
We have an application that will connecting with sharepoint website and check if a certain file is available. For this we are using Office365-REST-Python-Client==2.4.0 package. Now this works most of...
I need to append to a remote file. So that I don't need to download, append and then upload the whole file. Since there is the functionality of uploading the...
I want to fetch a file from a SharePoint website. So first, I tried to run the exemple code found in the doc replacing username, password and the site with...
Error: PS H:\a\b\c\d> python .\test_sharepoint.py Cannot get binary security token for from https://login.microsoftonline.com/extSTS.srf Traceback (most recent call last): File "H:\a\b\c\d\test_sharepoint.py", line 26, in result = search.post_query(request).execute_query() File "C:\a\b\c\d\tools\python3.10\latest\lib\site-packages\office365\runtime\client_result.py", line 38,...
Hi, Using `client.search.query_messages(query).execute_query()` I'm searching for certain e-mails. By default the number of returned hits is around 20. How can I set that to the maximum allowed by office365? And...
The SAML authentication method for SharePoint Online has been disabled by Microsoft, effective immediately. This is a global service-side change and is not a bug in this library. This is...
Hello, I'm unable to download files from Sharepoint following the examples provided in the documentation, and the error I receives leaves me puzzled I'm able to connect / browse and...
Hi all, Not sure if this is an issue with my environment/setup or a bug with the library. I'm currently trying to migrate a script using SAML auth (see #981)...
TypeError: can't compare offset-naive and offset-aware datetimes in token expiration logic (v2.6.2)
Upgrading from version 2.5.5 to 2.6.2 of office365-rest-python-client causes a TypeError during authentication when using certificate-based access tokens. The error occurs due to a comparison between a timezone-naive and a...