We want to access our e-mails (Either personal account or domain accounts like - email@example.com) using OAuth2 and JavaMail APIs... This link outlines how we can achieve this for gmail accounts: https://kgiann78.github.io/java/gmail/2017/03/16/JavaMail-send-mail-at-Google-with-XOAUTH2.html. But when we try the same approach for microsoft, things don't work. Does MS plan to bring out support for JavaMail with OAuth2? Or if such support exists, can you please share some links/pointers towards them - or share some sample java code that we can use?