I want to access Outlook of Microsoft 365 with Java using XOAUTH2. In my working code for PLAIN authentication, I added
properties.setProperty("mail.imap.aut