Documentation forServer & Application Monitor

Microsoft 365 Mail Traffic API poller template

Use this SAM template to monitor email activity trends for Microsoft 365 (for example, how many emails were sent, read, and received).

Prerequisites

  • Configured OAuth 2.0 Azure credentials with the following scope:

    https://graph.microsoft.com/.default.
  • Credentials have the following Microsoft Graph permissions: Reports.Read.All.

Notes

  • Data is polled once per day.
  • Default thresholds are not set for this template.
  • This template is based on the Microsoft Graph API reference (© 2020 Microsoft Corp., available at docs.microsoft.com, obtained on August 21, 2020).
  • Here is an API request example: https://graph.microsoft.com/beta/reports/getEmailActivityCounts(period='D7')?$format=application/json

Available metrics

  • Sent Emails Count
  • Received Emails Count
  • Read Emails Count