Authentication issues when using TMSFNCCloudMicrosoftOutlookMail

Hello,
I'm having a problem using TMSFNCCloudMicrosoftOutlookMail.
My app is supposed to send emails via its own Microsoft email account (e.g. service@xyz.de), regardless of the logged-in user. Persist tokens are stored in the database (also tried with ini).

This works fine so far.

But if there is no token yet and a user is logged in to the browser with their own email account, this user account is authenticated when connecting to TMSFNCCloudMicrosoftOutlookMail and all emails are sent via the user account.

How can I ensure that the correct account (service@xyz.de) is used during the initial connection. If no valid token is present in the db, the login dialog from MS should appear, even if the user is logged in locally with their account.

Any idea to solve this is welcome.

Regards Michael

Hi,

Unfortunately we have no control over Microsoft's authentication process in the browser window.
Please ensure the user is logged out from the Microsoft account before attempting to authenticate.