linkedin / pyexchange

Python wrapper for Microsoft Exchange
Apache License 2.0
152 stars 98 forks source link

Special settings for pyexchange #51

Open jkottapa opened 9 years ago

jkottapa commented 9 years ago

Hi,

I am wondering if there are any special requirements set on the Exchange server in order to have pyexchange to work?

By this I mean, if I were to modify the code to read resources, does the user need to have any special permissions? Or anyone part of the domain be able to access these resources? I see that the authentication is using NTLM, if we were to use Basic Auth to accommodate Office 365, does this mean the username should be a email id user@contoso.com rather than contoso.com\user ?

jeeftor commented 8 years ago

For office 365 you need to use basic authorization. There is a pull request supporting this -> the default version of this lib wont work (at least in my experience). Its designed for NTLM only.