This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP modern authentication when sending notifications

Is it possible to use OAUTH2 in the M-Files global notification settings when  using O365 (Exchange online) for SMTP

Parents Reply Children
  • Hi Joonas

    Despite feature being now implemented since Aug '23 update, somehow still can't get notification service to work with Exchange online.

    Am running 23.10.13060.5 and keep getting following event log message when system is trying to send notifications:

    M-Files Online

    Fehler bei der Authentifizierung.
    Silent Microsoft authentication failed. One or more errors occurred. An error occurred while sending the request. The underlying connection was closed: An unexpected error occurred on a send. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. An existing connection was forcibly closed by the remote host

    MailManager.cpp, 715, Fehler bei der Authentifizierung. (0x80040162)
    ExternalMailSourceClient.cpp, 232, Fehler bei der Authentifizierung. (0x80040162)
    ExternalMailSourceClient.cpp, 232, Silent Microsoft authentication failed. One or more errors occurred. An error occurred while sending the request. The underlying connection was closed: An unexpected error occurred on a send. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. An existing connection was forcibly closed by the remote host  (0x80040162)
    (M-Files 23.10.13060.5 2023-11-09T09:11:31.217Z)

    Have allready tried all sorts of things in terms of tenant, client and secret settings - til now to no avail.

    Any further ideas?

    Brgds

    Guido

  • This is likely related to the lack of TLS 1.2 support on the server, please see this support article: Azure AD TLS 1.0 and 1.1 Error: "Silent Microsoft authentication failed"

  • Thanks a lot for that valuable input, which could indeed be the source of all trouble .. Will check it out and keep you posted ...

  • Just to let you know .. TLS was indeed THE issue for that matter, as it was somehow only partially activated .. Anyway, after setting it right and in accordance with the respective Microsoft KB article eventaully everything worked smoothly :-)

  • Thanks for confirming, good to know that it was the usual suspect Slight smile