Hi there,
I've been trying to get a shared mailbox configured to be able to send and receive, with OAuth2 authentication. I have the latest version of the OAuth2 plugin, just downloaded. I have been able to use the plugin to successfully set up SSO and incoming mail, so I'm able to create tickets by sending to it, but I'm getting a "Temporary server error" when trying to enable SMTP. If I respond to a ticket, it'll fall back to sending the response from another email we have set up as the system default (that one's using legacy user/pass auth), "on behalf" of this one.
I have "Strict Matching" disabled, and when authenticating, I am logging in with an M365 account that has full delegated access over the shared mailbox. This seems to work when I press "Submit", as it generated a token, but if I go to enter in the SMTP info (hostname, port number, and enabling it), and then "Save Changes" from there, I receive the error. Did not run into this with the Remote Mailbox settings for inbound.
I tried "Same as Remote Mailbox" as well for the Authentication setting, but it threw the same error. I am using the same registered Entra app for the SSO, inbound, and outbound, in case that's an issue. I've also attached an image of the permissions granted within the app.
Please let me know what other info might be needed to find out what's going on. I hope it's something stupidly easy I missed (I swear I'm going over the documentation carefully!). Thank you.




