Office365-REST-Python-Client
Office365-REST-Python-Client copied to clipboard
Microsoft 365 & Microsoft Graph Library for Python
Hi Team, How to pull below meta information from SharePoint ? Modified and Modified by , Created by Regards, Ranganna Naik
Hello Team, I am facing issue to send mail from a user in AAD. The mail problem is in execute_query(). I would like top send it via ClientConfidentialClient with msal...
```python import msal from office365.graph_client import GraphClient def acquire_token_func(): """ Acquire token via MSAL """ authority_url = 'https://login.microsoftonline.com/xxxx' app = msal.ConfidentialClientApplication( authority=authority_url, client_id='xxxx', client_credential='xxxxx' ) token = app.acquire_token_for_client(scopes=["https://graph.microsoft.com/.default"]) return token...
I am uploading a file to SharePoint successfully using the api, but when I come to set the data in the SharePoint columns I'm getting an error. This only happens...
Could be great to support proxy connections for those behind a web proxy. Please take into account NTLM proxies too. ... and support session instead of one request per operation....
I'm trying to update a SharePoint list on our site by using calm_query for finding the rows to update but I am getting the error "office365.runtime.client_request_exception.ClientRequestException: ('-2147467259, Microsoft.SharePoint.SPException', 'Cannot complete...
It appears any attempts to update regional_settings result in ClientRequestException being thrown caused by wrong method being used to update properties. Code below: ``` url = 'https://my_tenant.sharepoint.com/sites/test' credentials = ClientCredential(client_id,...
Sometimes when using files I get a "Extra data: line 1 column 5 - line 1 column 22 (char 4 - 21)". I use the command "ctx.web.get_folder_by_server_relative_url(remote_path).upload_file(file, file_content).execute_query()" to upload...
I am running a script that uploads a lot of files in parallel and I get this Exception: "(None, None, '429 Client Error: for url blahblah.blah)". Now I understand this...
I want to change the Status value of the document library item after I download the file. I have following code which works fine for downloading and renaming it. But...