python-o365 icon indicating copy to clipboard operation
python-o365 copied to clipboard

A simple python library to interact with Microsoft Graph and Office 365 API

Results 213 python-o365 issues
Sort by recently updated
recently updated
newest added

In the class DriveItemPermission the variable granted_to only has the display_name value. I want to access the id also . how culd I do? self.granted_to = granted_to.get('user', {}).get( self._cc('displayName')) or...

I reached out to Microsoft and the Graph API does support subscriptions, much like EWS did. It would be of benefit for some and probably allow them to transition from...

Hey, I'm trying to read calendar events from multiple persons and get an error for an email that i try to read from. My code is something like this: ```...

When I call account.authenticate(scopes=['basic', 'mailbox', 'calendar', 'onedrive', 'sharepoint']): The response from M365 won't paste into the console - the console beeps. It works if I run it interactively, but not...

When I try the following code : from O365 import Account, MSGraphProtocol my_credentials = ('XXXXXXX', 'YYYYYYYYY') protocol = MSGraphProtocol(default_resource='PPPPPPPPPPPP') account = Account(my_credentials, protocol=protocol, auth_flow_type='credentials', tenant_id='ZZZZZZZZZZZZZZZZ') if account.authenticate(): print('Authenticated!') m =...

There is a bug that when you use negate, in a query with chain(), to add an extra not Eg: ![image](https://github.com/O365/python-o365/assets/247528/659eb2b8-aa7a-48cb-9395-cc88a742563f) the first contains two not and the second contains...

bug

Hey there. I was trying to upload a file to my OneDrive and was hit with an Access Denied error. It seems like under https://o365.github.io/python-o365/latest/usage/account.html#setting-scopes the Short Scope Name "onedrive"...

I am getting an error: ``` AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'localize' ``` [link to line](https://github.com/O365/python-o365/blob/master/O365/utils/utils.py#L950): The `self.protocol.timezone` object is the one being referenced by the error. It looks...

When dealing with Email, there's a known thing about email bodies - they tend to be 'multipart' messages, both an HTML and a plain-text part. That way, when an HTML...