python-o365
python-o365 copied to clipboard
A simple python library to interact with Microsoft Graph and Office 365 API
Gory, detail-level messages are logged as "info", like request params, and responses. These should be demoted to debug, so as not to clog the downstream logs. In Connection, lines 704-~707).
Is it possible to save outgoing email as a file? TIA
Hi. I'm trying to delete a store event, the code dont return error, but the event isn't deleted. The event is located in query, but doesnt delete it. The code...
Hi all just wondering if move is implemented? it is supported in the graph365 API https://docs.microsoft.com/en-us/graph/api/message-move?view=graph-rest-1.0&tabs=http when I try I get AttributeError: 'Folder' object has no attribute 'move' do you...
Have I read the documentation too fast, or there is no way to obtain the email address from the `Account()` object? I see the `get_current_user()` method, but it only provides...
So, this is pretty straightforward query for a mailbox object, take a look at the query: ``` query = mailbox.new_query() (query .on_attribute("from") .contains("[email protected]") # .chain('or') # .contains("[email protected]") .chain('and') .on_attribute('receivedDateTime') .greater_equal(datetime(2021,...
I couldn't figure out from source code how should I actually upload a file for the first time. I have an interface for `upload_file` which would create or update the...
When I try to send an email, I get a permission error for the token. I use similar code like the below to send the email: ``` credentials = ('xxxx',...
Need a small snippet of code to download Excel from Sharepoint inside folder in Document library. As as an example
`Folder.upload_file` returns a `File` object (`DriveItem`) which has a `_parent` attribute loaded with the `Folder` object. However after you get this item by its path on the drive with `Drive.get_item_by_path`,...