I am in need of assistance for the configuration of OAuth in Azure for my Exchange Online account (Office 365 Hosted Emails) and the development of a vb.net source code for a Windows WPF Desktop Application.
The code should allow my desktop application to perform read and write actions on emails using IMAP and SMTP AUTH. My preference is to utilize the Microsoft Graph API library available in vb.net for this solution.
As Microsoft has deprecated legacy basic authentication, OAuth is now a requirement for access to Office 365 mailboxes through third-party applications.
You can refer this Microsoft article for more information on this topic: https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online