Replies: 3 comments 2 replies
-
It could be that the account hasn't been granted access to use the EWS API. It's also possible that you need to set the authentication type explicitly, e.g. Basic auth, NTLM or OAuth, depending on what your organisation supports. |
Beta Was this translation helpful? Give feedback.
-
I've been searching for this answer for hours. Did anybody have a solution? Everything was working a few days ago and then it stopped and I can't seem to get it working again. |
Beta Was this translation helpful? Give feedback.
-
I tried to login microsoft account that provided on code using browser. Then it logged in. After that I closed. Then again checked python code for accessing mailbox using exchangelib. It worked. I think it taking any session or something. Before that it gives error like exchangelib.errors.UnauthorizedError: Invalid credentials for https://outlook.com/autodiscover/autodiscover.svc |
Beta Was this translation helpful? Give feedback.
-
Just getting started and having an authentication issue.
I get:
FWIW In a browser, https://outlook.office365.com/EWS/Exchange.asmx brings up an authentication request and the credentials don' work there either.
Is there a setting in Admin I missed?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions