Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

Microsoft 365 & Microsoft Graph Library for Python

Results 293 Office365-REST-Python-Client issues
Sort by recently updated
recently updated
newest added

Hi @vgrem, We have a SharePoint site where we want to **upload files** and **set read and download permissions** to the uploaded file so that only **specific user email ids**...

question

I want to get a list of files from a document library using a CAML query. This also needs to be recursive because the library contains many folders that have...

question

I am trying to use certificate authentication. If I connect to the root of my SharePoint, it works. But if I try to connect to any specific site, it gets...

bug

`lib/python2.7/site-packages/office365/outlook/mail/messages/message.py", line 71, in _message_loaded self.attachments.resumable_upload(file_path, max_upload_chunk, file_attachment) TypeError: resumable_upload() takes at most 3 arguments (4 given)` `self.attachments.resumable_upload(file_path, max_upload_chunk, file_attachment)` file_attachment is not required in resumable_upload of AttachmentCollection class :...

bug

``` source_folder_url = "/sites/sitename/Shared Documents/old/1" target_folder_url = "/sites/sitename/Shared Documents/new" source_folder = ctx.web.get_folder_by_server_relative_url(source_folder_url) target_folder = source_folder.copy_to_using_path(target_folder_url,True).get().execute_query() print(f"File copied into {target_folder.serverRelativeUrl}") ``` Showing error: **requests.exceptions.HTTPError: 400 Client Error: Bad Request for url:...

bug

The example https://github.com/vgrem/Office365-REST-Python-Client/blob/master/examples/sharepoint/folders/download_folder.py does not work for me because get_by_title("Documents") fails. Furthermore, what if the folder contains sub folders? => Is there a way to download a whole folder as...

enhancement
question

Is there a real documentation source, can I help if needed?

question

Hi, Is it possible to use the Graph API for Sharepoint? Does `ClientContext.with_access_token` work to authenticate, and what parts of the Graph API are supported? Otherwise, is there a plan...

question

I have used these reference code with my core PHP project. I tried to connect thru examples/SharePoint/ConnectOnline.php - "examples\SharePoint/../vendor/autoload.php): failed to open stream: No such file or directory in" other...

question

I am trying to upload a file to a subfolder of the root folder of our sharepoint site. The following is the source code I am trying to use to...

question