Office365-REST-Python-Client
Office365-REST-Python-Client copied to clipboard
Microsoft 365 & Microsoft Graph Library for Python
I am using the below with certificates to get the context for a site. Is it accurate to say that the context will expire when the certificate expires ? I...
Hello @vgrem , Could you please help me I'm getting this error **ValueError: Acquire app-only access token failed.** while executing below mentioned code. site_url = 'https://mycompany.sharepoint.com/sites/Test' #client_id and client_secret is...
Does this package support reading and downloading emails from an outlook inbox that is in a GCC High environment? I see in the documentation it details support for GCC High...
I am uploading to sharepoint using a token. I am successfully receiving a response and creating a TokenResponse that contains a proper token. I am also creating a ClientContext object...
Hello! My Sharepoint/OneDrive contains a few folders that are shortcuts to other folders shared with me. How can I follow these links to list the linked folder contents? ``` url='Documents'...
Is it possible to get Drive object from the Web URL? All tutorial and test cases I've seen are either using root or iterating the `site.drives`. I want to get...
I have some relatively large CSV files that I am uploading to SharePoint via an `io.BytesIO` instance using the following simplified method: ``` def write_file_bytes(self, relative_url: str, file_name: str, file_bytes:...
Hello, I noticed that with the version 2.5.2 the file `office365/sharepoint/internal/queries/upload_session.py` was completely removed. I understand the background (`create_upload_session()` in `office365/sharepoint/files/collection.py` does essentially the same). However, ironically I was using...
I'm running version `2.5.2` and hitting an error that looks like #266. When I call the `.read()` method on a Sharepoint file with a `'` in the filename, I get...
Initially I tried downloading a file which is a driveItem extracting it from url: file_item = client.shares.by_url(file_abs_url).drive_item.get().execute_query() then using the example for downloading large files - this works. However when...