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 All , I am trying to find a file in the Sharepoint library using the CAML query. However, the query is not returning what I want. It is only...

question

Hey, I'm trying to access and download files shared to me via a sharepoint sharing link. It does not require any authentication, but only a password. It's essentially quite similar...

question

Hi, I'm trying to resolve a shared link (organization link) to a file or folder object or at least I want to get the path to the shared object. Here's...

question

Hello, please help I cloned the list using the (create_field_as_xml) method Transferred all items without errors, but columns "ApprovalStatus", "Responses", "Approvers" not available for editing Maybe I incorrectly created the...

question

I get following error while executing: ```python folder: Folder = ctx.web.folders.get_by_path('My_Library') ctx.load(folder, ["Folders"]).execute_query() ``` > office365.runtime.client_request_exception.ClientRequestException: ('-1, Microsoft.Data.OData.ODataException', "Invalid JSON. A comma character ',' was expected in scope 'Object'. Every...

bug

After following the instructions for an app principal and using below code: `site_url = "https://{}.sharepoint.com/sites".format(MS_TENANT) client_credentials = ClientCredential(client_id=MS_CLIENT_ID, client_secret=MS_CLIENT_SECRET) ctx = ClientContext(site_url).with_credentials(client_credentials) web = ctx.web ctx.load(web) ctx.execute_query()` I get the...

question

Hi, I have a problem with authentication to Sharepoint to download some files. I used this code for the test connection: ``` from office365.runtime.auth.authentication_context import AuthenticationContext from office365.sharepoint.client_context import ClientContext...

question

Thanks you for creating the library. I think I found a bug. Below you can find the steps to reproduce the bug. When I would create an event using your...

bug

I'm using the "OneDrive file download" example to download a JSON file. This results in : `TypeError: a bytes-like object is required, not 'str'` If I write to a io.StringIO...

bug

```python from office365.runtime.auth.authentication_context import AuthenticationContext from office365.sharepoint.client_context import ClientContext from office365.sharepoint.files.file import File site_url = 'https://xxx.sharepoint.com/sites/xxx' username = '[email protected]' password = 'xxx' ctx_auth = AuthenticationContext(site_url) ctx_auth.acquire_token_for_user(username, password) ctx = ClientContext(site_url,...

question