I will post an update once completed to see if it works OK. Once done, this will allow me to set up incoming mail. I am just configuring the OAuth settings in Azure and SuiteCRM today.
Thanks - I went through this and it is very comprehensive. It is likely that in many enterprise organisations, any such request would be refused. To understand all about this, I would recommend that you read the Microsoft support pages in the link below and decide for yourself or speak with a system administrator. It is entirely up to you, but is fairly straightforward to do, as long as you accept that there is an added security risk. I won’t recommend how anyone does this in their organisation. I believe that this is IMAP for SuiteCRM 8, which in turn also enables SMTP authentication. The solution for this is to enable Basic Authentication for the protocol used by your application. In addition, the Modern Authentication used by Microsoft also disables App Passwords, so these wont work either. It is this type of authentication that SuiteCRM requires in order to authenticate with the normal password. Since around 2021, implementing O365 or Outlook or anything that uses Exchange server does not have basic authentication enabled by default. I believe that I have found the issue with why Office 365 and associated Microsoft email services wont work easily with SuiteCRM 8 (or probably any other versions).