In less than one month, Microsoft will turn off basic authentication, like usernames and passwords over unencrypted channels, for Exchange Online service. As of October 1, 2022, users will be required to employ token-based authentication (to access their accounts). Ref https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-deprecation-in-exchange-online-september/ba-p/3609437