Configuring alerts for Microsoft Exchange Online
This article will guide you through the process of configuring automated outgoing alert notifications using Microsoft Exchange Online.
Before you begin:
All e-mail notifications are sent by the Inventory Server, so make sure that the Inventory Server is configured and started. For details, see Inventory Server Manager.
Choose what Microsoft account Network Inventory will use for sending alerts. Since Exchange Online is a part of the Office 365 suite of products, by Microsoft account here we understand the account you use to work with your Microsoft 365. This Windows account will be used by the Mail Connector so it must have sufficient permissions to work with your Microsoft mailbox. You can create a special mailbox account for this task, or use an existing one.
Mandatory: Go to Services > E-mail Settings and select Microsoft Exchange Online with OAuth authentication.
Choose one of the API options:
MS Graph (recommended) - MS Graph is the gateway to data and intelligence in Microsoft 365. Microsoft Graph API usage ensures the latest Microsoft standards in Office 365 Email protocols for very latest in security and connectivity.
Exchange Web Services (EWS) - EWS was launched as a part of Microsoft Exchange 2007 as a SOAP based API that allows access to Exchange Online data.
Click the Sign in hyperlink to sign in to your Microsoft account. If you're already signed in with one account, you can change it by clicking the Change hyperlink and choosing another account.
By default, all notifications will be sent from the Microsoft Exchange Online account, i.e. will have its address in the From field. If you want to enable Alloy Discovery to send notifications on behalf of other users, select the 'From’ address delegation check box.
IMPORTANT: Sending notifications on behalf of other users requires that every person whose e-mail address you specify in the From field when configuring e-mail notifications must grant your Microsoft Exchange Online account a permission to send e-mail messages on her/his behalf.
To verify your settings, click Test Settings. Alloy Discovery will send a test message using the specified parameters to confirm the ability to communicate with the mail server. When the Send Test Message window opens, enter a valid e-mail address to send the test message to, choose the Inventory Server instance (if you have more than one), and click OK.
Click Save on the toolbar.
In order to send an alert notification, the Inventory Server connects to the specified outgoing mail server, and the outgoing mail server will send out the message. Make sure the Inventory Server is configured and started. For details, see Inventory Server Manager.
NOTE: In case you configure the e-mail settings after audit data has been uploaded, the alert record appears in the Alert Log (for details, see Viewing Alert Log) but the alert notifications can not be sent out.