How do you access the XML API with Python to create calendar events in a Microsoft Office 365 account?
I have a hosted account on http://outlook.office365.com, and I'm trying to use the Python library https://github.com/linkedin/pyexchange (using the sample code almost verbatim) to create calendar events, but Outlook refuses my credentials with the error, "Unable to connect to Exchange: HTTP Error 401: Unauthorized"
I'm using the endpoint https://outlook.office365.com/EWS/Exchange.asmx, with the username and password I normally use to login to the web UI.
Do I need to specially setup or configure my account before I can access it from the API?