401 when using Python exchangelib to get an email messages with Basic Auth from Outlook
Cutwrack
0
Reputation points
Hello guys! I was using a Python script with exchangelib library to obtain a messages from Outlook mailbox. I was using basic auth (email and password) From November till now it was okay, yesterday I started to get a 401 error from https://outlook.office365.com/EWS/Exchange.asmx I know that EWS is deprecating Basic Auth from January 2023 and I need to use OAuth method, but why it was working from November 2023 till yesterday? Something was changed? Or this deprecation wasn't affecting me till yesterday? Thanks a lot in advance!
Sign in to answer