python-o365
python-o365 copied to clipboard
A simple python library to interact with Microsoft Graph and Office 365 API
In the latest release of the bitwarden_sdk (version 1.0.0), a breaking change has been introduced that affects the O365 integration. Specifically, the function access_token_login has been renamed to login_access_token and...
Hello, When I use the method item.upload_file, I come across this error. Is there any way I can just delete the upload session alone instead of deleting the file when...
Hi all! I'm really new with MSGraph and seeking for some help. I want to use this python module with the MSGraph beta API. How can I use the authenticated...
Is it possible to send multipart emails, namely emails with both a body in text only and a body in html? Thanks
Suggestion to improve documentation: README says not precisely that Sites.Read.All or Sites:ReadWrite.All is needed to work with Sharepoint class. It is not completely true. I managed to work with API...
The above query that contains a ' symbol in the subject filter: `query = mailbox.new_query().on_attribute('subject').contains("who's the best?") ` Fails with: `requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://graph.microsoft.com/v1.0/users/.../messages?%24top=1&%24filter=contains%28subject%2C+%27who%27s+the+best%3F%27%29 |...
https://github.com/O365/python-o365/blob/705e676ca10055b41448d0b7e5c199a1ce9407af/O365/sharepoint.py#L665C1-L665C60 It caused the site to be inaccessible. Changing it to: `site = '{}:/sites{}'.format(host_name, path_to_site)` works fine. Is my code still incorrect? ` o365 = Account(credentials=(client_id, client_secret), auth_flow_type='credentials', tenant_id=MicroSoftGraphTenantId) o365.authenticate()...
Would it be possible to add automatic migration from the old format of tokens using this [guide](https://learn.microsoft.com/en-us/entra/msal/python/advanced/migrate-python-adal-msal#migrate-existing-refresh-tokens-for-msal-python) ?
Hi, is there support for subscriptions? Thanks.