SMTP with OAuth
Instructions at https://ggce.genesys-pgr.org/docs/install/configuration/#smtp are using MS exchange basic authenication which is no longer used on Office365.
- https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online
- https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth
@vincentk says we managed to get this working using a python client and basically the client requires the Azure Tenant ID, App ID, Secret Value. The App on Azure has permissions to use Graph API to send mail. This is restricted to a group so we can add smtp users to it.