python-o365
python-o365 copied to clipboard
A simple python library to interact with Microsoft Graph and Office 365 API
Hello I am exploring this package and tried the following code: ``` from O365 import Account credentials = ('client_id', 'client_secret') account = Account(credentials, auth_flow_type='credentials', tenant_id='my_tenant_id') if account.authenticate(): print('Authenticated!') mailbox =...
I am trying to update an existing field of a listitem which current value is null (that means it's not listed on item.fields) , but the following exception happens: ValueError:...
I have an issue with the query of getting all-day type events on a day. Actually, I'm going to fetch the events on a specific day by a query, and...
I was wondering if anyone could add support for getting drive items using a OneDrive share link. This page in the documentation gives a little more detail: https://learn.microsoft.com/en-us/graph/api/shares-get?view=graph-rest-1.0&tabs=http This way...
I am using , the get_body_text() for getting the body of the email , once I get the body, I am using regex for parsing the email and extracting Dates...
Hi there, I want to created reply draft, this way I can manually check if my system created the correct replies before sending. I thought this would be possible as...
As per the documentation *O365 will automatically refresh the token for you on either authentication method. The refresh token lasts 90 days but it's refreshed on each connection so as...
I know this is the limitation of GraphAPI. Is there a way to send such mails? or is there a fix or will it implemented in upcoming release?
I want to add all the json to my worksheet residing in my one drive. For example: file : abcd.xlsx Headers: Name, Age, Address data : [{"Name":"Ram Bahadur","Age":"30","Address":"Kathmandu"},{"Name":"Shyam Bahadur","Age":"27","Address":"Pokhara"},{"Name":"Hari Bahadur","Age":"45","Address":"Chitwan"}]
Hello, many thanks for creating the library. I am at version 2.0.19, using the code below in order to implement a custom flow: ```python from O365 import Account credentials =...