Office365-REST-Python-Client
Office365-REST-Python-Client copied to clipboard
Microsoft 365 & Microsoft Graph Library for Python
I teach at a university and use teams classrooms for my classes. I've used this library to interact with student files to add functionality to my teams site and to...
Python3.12 Minimal reproducible code on version>=2.5.10: ```python import os from office365.graph_client import GraphClient client_id = os.getenv('M365_ID') client_secret = os.getenv('M365_SECRET') client_tenant = os.getenv('M365_TENANT') client = GraphClient.with_client_secret(client_tenant, client_id, client_secret) folder_item = client.shares.by_url(...
Hi I want to use this tool, but my user account is mfa enabled. so is there anyway we can bypass the mfa and login through this tool.
I stumbled across `office365/onedrive/filestorage/container_collection.py` (line 16; commit `ce11b31`) and found that the `container_type_id` kwarg defaults to a random UUID, but this is done in the function definition, meaning "the expression...
I'm getting 429 errors on Sharepoint, even if the library just takes 2 requests to the sharepoint site. I changed the authentication to app authentication with client_id and client_secret and...
Hi, I'm encountering a `400 Client Error: Bad Request` when trying to move a file using `move_to_using_path` in SharePoint via the Office365 Python library. The error seems to occur when...
Hello, Name: Office365-REST-Python-Client Version: 2.6.2 I have started using GraphClient lately for API connection and run into issue with 'range' method. ```Python import adal from office365.graph_client import GraphClient from office365.onedrive.workbooks.ranges.range...
I receive the following error message when I use the code (at position .execute_query() ) below: > AADSTS700016: Application with identifier 'dddddddd-3dd4-4722-8125-dddddddddddd' was not found in the directory ... It...
When attempting to access the SharePoint API endpoint /_api/contextInfo, the request fails with a 403 Client Error: Forbidden. The server returns the following error message, indicating a permissions issue: XML...
In certain situations, when passing subsclasses of `str` as parameters, there are not recognized as strings and incorrectly encoded in a query. Specifically, I stumbled over this problem when passing...