python-o365
python-o365 copied to clipboard
A simple python library to interact with Microsoft Graph and Office 365 API
I recently started receiving "InvalidGrantError: (invalid_grant) AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to...
I have implemented a tokenbackend however, I don't want the session token simply sat on the disk in cleartext. Do you have any examples of implementation using a token that's...
When I try to filter on a non-indexed field, I get the following error: `Error Message: Field 'Title' cannot be referenced in filter or orderby as it is not indexed....
Hi. I already have authentication on a different server and have an access token. How can I use an already existing token to authenticate in here?
Hello, We are using O365 succesfully to access sharepoint, so thanks a lot for this wonderful library. Currently we are polling sharepoint to check if a file has been added....
How does batching work in this API? I don't see threads anywhere? Is it just sequential batching? And you just take a subsection? Code pointers would be great!
date_time = dt.datetime.now() last30MinuteDateTime = dt.datetime.now() - dt.timedelta(minutes=30) yr = int(date_time.strftime("%Y")) mnth = int(date_time.strftime("%m")) dte = int(date_time.strftime("%d")) hrs = last30MinuteDateTime.hour mint = last30MinuteDateTime.minute print(yr, mnth, dte, hrs, mint) ##printing current...
The function `get_authorization_url` is passing scopes to `get_session` without process, so you get an error that there aren't such scopes. You can see here how the scopes look like before...
I have tried all way but not getting to read shared email ID. Could you please help. ```python from O365 import Account, MSOffice365Protocol , MSGraphProtocol credentials = ('client ID', 'cllient...
Hello, Is there any plan to support the servicePrincipals API? (https://graph.microsoft.com/v1.0/servicePrincipals) Thanks!