Deprecation of Basic authentication in Exchange Online
In September 2021, Microsoft announced that effective October 1, 2022, they will begin disabling Basic authentication for Outlook, EWS, RPS, POP, IMAP, SMTP and EAS protocols in Exchange Online.
See full announcement
Starting from 2021.Winter.2 release, Imagicle UCX Suite supports OAuth2 authentication. You can apply relevant configurations, as explained in this KB.