Moogsoft Docs

Office 365 Email

The Office 365 Email integration allows you to retrieve emails using the Microsoft Graph API to connect to Office 365 accounts and send them to Moogsoft AIOps as events.

Refer to the Office 365 Email LAM Reference to see the integration's default properties.

When you use the integrations UI, you can only configure the visible properties. If you want to implement a more complex Office 365 Email LAM with custom settings, see Configure the Office 365 Email LAM.

Before you begin

Before you start to set up your Office 365 Email integration, ensure you have met the following requirements:

  • You have registered your Office 365 account on Microsoft Azure, and have the following details:

    • ID

    • Client Secret

    • Tenant ID

    • Email address

  • In Microsoft Azure, you have enabled Access Token Grant Flow. See the Microsoft Azure documentation for more information.

  • In Microsoft Graph, you have added Mail.ReadWrite and User.Read.All permissions for your account. See the Microsoft Graph Permissions Reference for more information.

Additionally, you can provide optional configuration details. See the Office 365 Email LAM Reference and LAM and Integration Reference for a description of all properties.

Configure the Office 365 Email Integration

To configure the Office 365 Email integration:

  1. Navigate to the Integrations tab.

  2. Click Office 365 Email in the Monitoring section.

  3. Provide a unique integration name. You can use the default name or customize the name according to your needs.

  4. Provide connection details for Office 365.

You do not need to perform any other integration-specific steps for Office 365. After you configure the integration, it polls Office 365 at regular intervals to collect email messages (every 60 seconds by default). For a list of the mappable attributes in the event payload, refer to the Office 365 documentation.


  • The Office 365 Email integration only monitors folders at root level. Subfolders are not monitored.

  • When using the Subject or Body filter, include at least two alpha-numeric characters.