I updated to version 6.0.37, when I select Oauth2 token in the mail settings, the Oauth2 token configuration field does not appear. I made a new installation and there I have the fields. on this new installation, I manage to receive emails with the Oauth2 configuration but the sending does not work.
You may need to configure outgoing mail as described here: doc.otrscommunityedition.com/en/administrator-manual/Email-Configuration/OAuth2-Support.html#enabling-oauth2-for-outgoing-email. If this doesn't help, please contact us by email at info (at) otrscommunityedition (dot) com or info (at) centuran (dot) com and we'll see if we can help.
The token should renew automatically when it expires. Manual token generation is necessary once every 75-90 days (according to Microsoft guidelines). If you still need help, please contact us at info (at) centuran (dot) com or info (at) otrscommunityedition (dot) com.
Could you share details about troubleshooting? I had difficulties to create the connection with the AD and now, after being created, I am having difficulties to close the connection between the email accounts and the o365. I tried several different configurations, could you generate prints of how the CORE/EMAIL configurations and the other configuration places should be?
You can find some more information in the documentation at doc.otrscommunityedition.com/en/administrator-manual/Email-Configuration/OAuth2-Support.html. It's still incomplete, but we're working on expanding it. And if you have specific problems with your configuration, feel free to contact us by email at info (at) otrscommunityedition (dot) com or info (at) centuran (dot) com and we'll try to help.