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

Hello, Here is the code I'm using ``` baseurl = 'https://somecompany.sharepoint.com' basesite = '/sites/someteam' # every share point has a home. siteurl = baseurl + basesite localpath = './testfile.txt' remotepath...

question

I'm having issues attempting to write code that will search for text within shared documents stored on a specific SharePoint site (code below). The code "works," but returns a list...

question

Trying to authenticate with a self signed certificate. This code works fine: ``` site_url = "https://[tenant].sharepoint.com/" cert_settings = { 'client_id': 'id', 'thumbprint': "thumbprint", 'certificate_path': '/path/to/certandkey.pem' } ctx = ClientContext(site_url).with_client_certificate("tenant", cert_settings['client_id'],...

question

Hello, My goal is given a sharepoint link to a site folder, to list the files, and to copy any new files automatically to AWS S3. When I run the...

question

source_url="/sites/Testing907/Shared Documents/rest" destination_url="/sites/Testing907/Shared Documents/Renamed" ctx.web.ensure_folder_path(destination_url).execute_query() folder = ctx.web.get_folder_by_server_relative_url(source_url) folder.move_to(destination_url , 1) ctx.execute_query() using the same as to move the folder, but still getting below error. Please help on this File...

bug

I was trying to upload a big file to SharePoint as it is shown in the example, it worked but there was no option to give another name rather than...

enhancement

When trying to work through the [list files example](https://github.com/vgrem/Office365-REST-Python-Client/blob/39fa3b013fe485fc97e5fe8831308eda7e94ab55/examples/sharepoint/files/list_files.py), I am getting a 403 forbidden returned. I have confirmed that the authentication works, and I cannot find similar issues online....

question

I am trying to download the file from sharepoint for which I am authenticating using username and password. Here is the code which I have tried: ``` sp_base = 'https://.sharepoint.com/sites/test/'...

question

the f for format string isn't compatible with python 2.7 so it throws an error

bug

Hello, I'm using your library to upload files to Sharepoint, however, I need to save the in-memory content in the Sharepoint folder. From your example, I've already tested that for...

enhancement