python-o365
python-o365 copied to clipboard
A simple python library to interact with Microsoft Graph and Office 365 API
I have been trying (unsuccessfully) to use the basic requests_oauthlib) to connect to our Office 365 site. The login URL is: LoginURL = 'https://login.microsoftonline.us/' which I don't see how to...
Hey there! I'm a user of `O365-HomeAssistant` looking to synchronise and view task lists. I'd like the queried lists to match the sorting I've set in the app, but as...
I am trying to automate the employment process of new employees. So i need to add a user to azure AD and then assign some licenses to him. I usually...
Hi, I am trying to send am email using o365, I have been able to authenticate with the credentials of a registered application on azure, but when I try to...
I'm having troubles authenticating following the documentation. Is this because the OAUTH_REDIRECT_URL = 'https://login.microsoftonline.com/common/oauth2/nativeclient' ? If yes, how to change/fix? Thank you.  
def print_progress(items): """ :type items: office365.sharepoint.listitems.collection.ListItemCollection """ print("Items read: {0}".format(len(items))) def query_large_list(target_list): """ :type target_list: office365.sharepoint.lists.list.List """ paged_items = target_list.items.paged(500, page_loaded=print_progress).get().execute_query() After the latest update, this option for printing the...
Sharepoint uses system lists for Site Pages, Site Assets, etc. These lists are currently inaccessible via O365. According to this documentation: https://learn.microsoft.com/en-us/graph/api/list-list?view=graph-rest-1.0&tabs=http and this SO response: https://stackoverflow.com/a/47563009/12194489: > Lists with...
Hi, I was just trying to use the example, but when I want to fetch the default calendar, I get the JSONDecodeError exception. Is this a bug? I have tried...
Currently there doesn't seem to be any way to access more than the first 100 members of any o365 group. I'm talking specifically about the `Group.get_group_members()` method. I would suggest...
Hii, I'm trying to access the O365 mailbox by following the instructions in the Readme.md file, but I'm using python2. I saw that in one of the issues you have...