dinsdag 31 januari 2023

Veeam email notification Microsoft Exchange Online / Microsoft 365

Setting up email notifications for Veeam Backup & Replication is not obvious.

And if you use Veeam Windows Agent to backup, it is even different.


Let me show you some possibilities for both:

First method, using "smtp.office365.com"

If you are using MFA, create an app password. Direct link: https://mysignins.microsoft.com/security-info


Click on "Add sign-in method" and create an "App password".

As an admin, check in the "Microsoft 365 admin center" the details of this user -> Mail -> Email apps

Make sure "Authenticated SMTP" is checked.


In Veeam Backup & Replication, you can set it up like this:


Put your M365 username/password in "1"

The "From" address can be put in "2". You can use your main address or:

-    address of a distribution list (make sure you have "send as" permission)

-    address of a shared mailbox (you also need "send as" permission)

-    address of an alias (allow it in Exchange Admin Center -> settings -> Mail flow)

The "To" should contain the recipient "3". You can also use a distribution list here.


In Veeam Agent for Microsoft Windows (Free):

Go to the settings -> enable email notifications -> click on "Configure and test".

Click on "Show SMTP server settings":


The email address in "1" is the "From" and the "To" address!

The email address in "2" is the username, linked to the password in "3" (above)

I usually use a distribution list in "1". This way all members from that list will receive the message. Make sure the username in "2" has "send as" permissions.


If you setup any of the 2 in a network with a fixed WAN IP and with access to any TCP port 25, I mostly use Microsoft Direct Send.

Put your IP address in the SPF record. Use your MX record as SMTP server (port 25). No login credentials. You can only send to internal addresses, so use a distribution list to relay it to external ones.

Geen opmerkingen:

Een reactie posten