M365 SMTP settings #1951
Replies: 6 comments 9 replies
-
check what security defaults is blocking, you can also do it this way https://docs.tacticalrmm.com/functions/emailsms_alert/#setting-up-tactical-rmm-alerts-using-open-relay |
Beta Was this translation helpful? Give feedback.
-
thx dinger, |
Beta Was this translation helpful? Give feedback.
-
At least something changed gg
Using telnet from the rmm-machine same error:
Now we have the salad, I think me kicks a horse. |
Beta Was this translation helpful? Give feedback.
-
Yes, I tested this to with same result. |
Beta Was this translation helpful? Give feedback.
-
If this needs updating please do a PR or writeup a summary and I'll update |
Beta Was this translation helpful? Give feedback.
-
I'm going to add this here as the M365 side of the documentation: https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365 I personally prefer to use Option 2, but Option 3 works well too. Authentication free SMTP direct to your M365 tenant with anything you need on an IP level controlled basis. It works with literally anything that requires SMTP, TRMM included. Certificate auth would be the "best", but that takes time. |
Beta Was this translation helpful? Give feedback.
-
Hi, my question is Micrsosoft 365 based.
I'm stucking in the configuration for e-mailalerts.
I configured M365 fpr testing organization wide an /or the account vor using authenticated SMTP.
I tested the functionalaty with Thunderbird and was able to send mails over authenticated SMTP.
Wenn I try same thing in Tactical RMM I get a message, that
With Set-TransportConfig -SmtpClientAuthenticationDisabled $true:
(535, b"5.7.139 Authentication unsuccessful, user is locked by your organization's security defaults policy. Contact your administrator. [FR0P281CA0244.DEUP281.PROD.OUTLOOK.COM 2024-07-31T10:06:51.744Z 08DCB10A2A487CAC]")
400: Bad Request
With Set-TransportConfig -SmtpClientAuthenticationDisabled $false:
(535, b"5.7.139 Authentication unsuccessful, user is locked by your organization's security defaults policy. Contact your administrator. [FR3P281CA0039.DEUP281.PROD.OUTLOOK.COM 2024-07-31T10:07:37.047Z 08DCB05D082128A7]")
400: Bad Request
The user self is able to use authenticated SMTP to:
PS C:\WINDOWS\system32> Get-CASMailbox -Identity *******@sv-richardson.de | Format-List SmtpClientAuthenticationDisabled
SmtpClientAuthenticationDisabled : False
The user isn't locked cause everthing else works fine an in M365 Administrator I'm able to lock this user. Unlock ist not shown like it is, when the users forget their passwords and try hard to log in ;-)
Best wishes
Stefan
Beta Was this translation helpful? Give feedback.
All reactions