Not able to send/receive notification via External Email source SCOM 2019

Tony Strother 171 Reputation points
2020-08-20T21:07:30.833+00:00

Afternoon,

This is very frustrating, cannot seem to understand what is happening here. I had been using a normal smtp channel that uses anonymous/no pwd. However, this is dropping numerous notifications, so I need to switch. The one I am trying to switch to has to use SSL/TLS.

I setup the required elements via this URL: https://learn.microsoft.com/en-us/archive/blogs/direnconen/sending-notifications-with-external-email-authentication

and this one: https://learn.microsoft.com/en-us/system-center/scom/manage-notifications-create-configure?view=sc-om-2019

did not get any errors along the way. I can use this PS script to check that the account I am using can send emails.

$msolcred = get-credential
Send-MailMessage –From address@mydomain –To address@mydomain –Subject “Test Email Last” –Body “Test Text Last” -SmtpServer xx-xxx.mail.protection.outlook.com -Credential $msolcred -UseSsl -Port 25

When the credentials box pops up I enter the email account to be used and the pwd for it. The email gets sent fairly quickly to my email account.

Error in SCOM:

Notification subsystem failed to send notification using device/server 'servername. xxx.xxx.xxx' over 'Smtp' protocol to 'myemailaddress@Piepel .xxx'. Microsoft.EnterpriseManagement.HealthService.Modules.Notification.SmtpNotificationException: Failure sending mail. --> Unable to connect to the remote server --> No connection could be made because the target machine actively refused it xx.xxx.xx.xxx:25. Smtp status code 'GeneralFailure'. Rule id: Subscription9e1271fb_1975_4d79_90e8_57731954a8ae

The "remote Server the error is referring to is my primary mgmt server.

Any and all assistance is greatly appreciated.

TS

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,417 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Subhas Roy 1 Reputation point
    2021-08-02T18:02:08.867+00:00

    HI,
    I am facing the same issue and spent a huge time on troubleshooting this issue but still no luck.
    My scenario is- SCOM (2019) manager is on A.com but I am using an SMTP address from B.Com. Required Firewall ports are open to send email from MyScom.A.com to SMTP.B.com. If I test smtp server using command prompt from myScom.A.com, it looks working fine as I am getting the test email. But myScom server is failing to send the alert notification to the subscriber.
    It looks like Subscription configuration is also ok.
    I am getting the below error

    Notification subsystem failed to send notification using device/server 'SMTP.B.com' over 'Smtp' protocol to 'xxx@B.com'. Microsoft.EnterpriseManagement.HealthService.Modules.Notification.SmtpNotificationException: Server does not support secure connections.. Smtp status code 'GeneralFailure'. Rule id: Subscription65dcee97_fd83_4338_adb4_797c6a294034

    Any other help would be highly appreciated.
    Thank you in advance

    0 comments No comments