python-o365
python-o365 copied to clipboard
A simple python library to interact with Microsoft Graph and Office 365 API
I'm trying to read some stuff from my microsoft account using a registered app in microsoft azure and a set delegated permission for `Read all users' basic profiles` scope. Here's...
I read examples, documentation (both readme on github and https://o365.github.io/python-o365) but I was unable to find a way to get checksum information on a file stored in onedrive. Is it...
Like the subject says, when running get_my_chats() it doesn't return all the data. this should work. ``` def get_my_chats(self, limit=None, batch=None): """ Returns a list of chats that I am...
After the authenticationURL is printed in logs, EOFError: EOF when reading a line Logs below: [2022-03-17 07:00:50,854] {logging_mixin.py:120} INFO - Visit the following url to give consent: [2022-03-17 07:00:50,855] {logging_mixin.py:120}...
Hi @janscas O365 package is really helpful and I have been using it to develop a service where I am trying to schedule a shared event but from the readme...
Hello, When I have install the new pytz, I am getting error messages. Program still works as expected. Warning (from warnings module): File "C:\Users\xxxxxxxxx\AppData\Local\Programs\Python\Python310\lib\site-packages\O365\utils\utils.py", line 932 word = self.protocol.timezone.localize( PytzUsageWarning:...
Hello I am using the above code ``` from O365 import Account from O365.utils.token import FileSystemTokenBackend tk = FileSystemTokenBackend(token_path=".", token_filename="o365_token.txt") account = Account(('client_id', 'client_secret'), auth_flow_type = 'credentials', tenant_id="tenant_id") # tenant_id...
Hi all, Wondering if anyone has sent both the `text` AND `html` versions of an email using `message.send()`. It would appear in the docs [MimeMessages](https://docs.microsoft.com/en-us/graph/outlook-send-mime-message#specify-request-header-and-mime-message-body) that you can, however can't...
Found PR: https://github.com/O365/python-o365/pull/633 There's no any documentation about how to use it properly. I googled a lot and on one website scheme was: - create message - save it as...
I've been trying to get the following piece of code working but have been receiving the errors above. I looked into the other issue here related to this error but...