Hopefully, you have read some of our announcements around disabling Basic authentication in Exchange Online. We are getting close to the end of a more
— Read on techcommunity.microsoft.com/t5/exchange-team-blog/notes-from-the-field-using-oauth-for-activesync-and-pop-imap-in/ba-p/3606118