Allowing multiple different SQL Servers in Azure to send email to my mailbox using the SMTP relay provided by Microsoft Exchange Online Protection?

EnterpriseArchitect 5,316 Reputation points
2023-09-27T10:27:00.6133333+00:00

I have multiple SQL servers deployed and running in Azure spread across multiple regions globally.

I need to allow each of those SQL servers to send email alerts, however, using the DNS MX record listed under the https://admin.microsoft.com/Adminportal/Home?#/Domains/Details/MyCustomDomain.com like mydomain-com.mail.protection.outlook.com is not working.

Do I need to assign public IP address to each of the SQL Servers so I can use the steps defined in Option 3: Configure a connector to send mail using Microsoft 365 or Office 365 SMTP relay 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#option-3-configure-a-connector-to-send-mail-using-microsoft-365-or-office-365-smtp-relay ?

By listing the Public IP address under the https://admin.exchange.microsoft.com/#/connectors ?

Any help and suggestions would be greatly appreciated.

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,491 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yuki Sun-MSFT 41,046 Reputation points Microsoft Vendor
    2023-09-28T05:44:21.1+00:00

    Hi @EnterpriseArchitect ,

    Do I need to assign public IP address to each of the SQL Servers so I can use the steps defined in Option 3: Configure a connector to send mail using Microsoft 365 or Office 365 SMTP relay ? By listing the Public IP address under the https://admin.exchange.microsoft.com/#/connectors ?

    Based on my understanding, yes, static unshared IP address is required to be assigned to each of the Servers. For more details, you can go through the requirements and configuration steps in the document you mentioned above.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.