Office365-REST-Python-Client
Office365-REST-Python-Client copied to clipboard
Microsoft 365 & Microsoft Graph Library for Python
Hi, thanks for the beautiful lib! Is it possible to authenticate using FedAuth or rtFA cookies exported from a browser for development/prototyping use cases?
Code worked completely fine and out of nowhere started giving me this error message: AttributeError: 'NoneType' object has no attribute 'text' Only other issues I can find online are for...
Here is my code: target_url = "/sites/pm_files_dnb/Shared Documents" target_folder = ctx.web.get_folder_by_server_relative_url(target_url) size_chunk = 1000000 # local_path = "../../../tests/data/big_buck_bunny.mp4" local_path = r"C:\Users\ealsmar\output\testFolder\EUTRANCELLFDD_FLEX_DAY_2022-11-29.csv" def print_upload_progress(offset): file_size = os.path.getsize(local_path) print("Uploaded '{0}' bytes from...
Hi, I have been using the https://github.com/vgrem/Office365-REST-Python-Client/blob/480f825050caba9bc3c9b0f86d4fa32e1aa92e48/office365/sharepoint/files/file.py#L624 method to download PDFs from a SharePoint folder. The problem is that a file of 774 KB takes around 10 seconds to download....
All of scripts writing Dataframes to a Sharepoint list are now all failing. Here is a sample of the upload script: Username = "username" Password = "password" site_url = 'https://company.sharepoint.com/sites/TEST/'...
I got this error when I use ctx.execute_batch() to update or add SharePoint list item. Can someone help me? > office365.runtime.client_request_exception.ClientRequestException: (None, None, '400 Client Error: Bad Request for url:...
Hey I have begun to notice that when reading a csv file with the following function, I'm getting a connection break error. My first thought is that I'm reading a...
I am trying to execute a query against SharePoint Online using an app-only context. Below I am using some code, following the example here: https://github.com/vgrem/Office365-REST-Python-Client/blob/master/examples/sharepoint/connect_and_set_proxy.py ```py from office365.sharepoint.client_context import ClientContext...
I am new to this library and believe this really has potential for my use case! I came across a situation where I need some guidance: I am searching for...
I'm currently using version `2.4.3` and having some issues why uploading large files. The issue arises when I am using the proxy infrastructure on a customers network. I have to...