Microsoft Office 365 Monitoring

Last updated on 22 January, 2024

LogicMonitor offers monitoring for Microsoft Office 365 by default. You can monitor the state of your Office 365 deployment, as well as the underlying services and license usage.

Requirements

Adding API Permissions to your App Registration

  1. In Azure, navigate to App registrations and select the app registration that is set up for LogicMonitor. If it has not been set up, follow the steps in Adding Your Azure Environment to LogicMonitor.
  2. From the app registration’s Overview page, select API permissions and then select Add a permission.
  3. On the Request API permissions page, select Microsoft Graph.
  4. Select Application permissions, and then add the following:
    • User.Read.All
    • Reports.Read.All
    • Organization.Read.All
    • Directory.Read.All
    • ServiceHealth.Read.All
    • CallRecords.Read.All
  1. Select Add permissions.
  2. Select Grant admin consent for each permission.

Note: You must be an administrator to grant admin consent. For more information, see Introduction to Permissions and Consent.

Adding Office 365 to LogicMonitor

Microsoft Office 365 is added to LogicMonitor as a SaaS resource. The SaaS Monitoring wizard takes you through the all of the steps, and you can test authentication before adding Office 365 to your resources. Use your Microsoft Azure account to configure the application permissions and integration settings. 

  1. In LogicMonitor, navigate to Resources and select Add > Cloud Account.
  2. Select Office 365 > Add.
  3. On the Name page, enter a Name and Description for the Office 365 account. These fields determine how the resource is displayed throughout your LogicMonitor environment.
  4. Enter a Parent Group to add this resource to an existing group. The default value is root.
  5. Enter Properties (key-value pair) by typing a Name and Value. You can also select from a list of existing properties. Select Next.
  6. On the Permissions page, enter the permissions that you collected while Adding Your Azure Environment to LogicMonitor.
    • User ID: The Application (client) ID in Azure.
    • Tenant ID: The Directory (tenant) ID in Azure.
    • Secret Key: The Value in Azure.
  7. Select Test Permissions to authenticate.
  8. Select Add Service to add the new resource to LogicMonitor.
  9. Select View Resource to view the Office 365 SaaS resource in LogicMonitor.

Office 365 LogicModules

The following modules are available for Office 365 SaaS integration. For more information, see Installing Modules and Packages.

NameTypeDescription
Microsoft_Office365_SubscriptionsDataSourceMonitors Office 365 subscriptions.
Microsoft_Office365_ServiceHealthDataSourceMonitors Office 365 service health.
Microsoft_Office365_Teams_Device_UsageDataSourceMonitors the last seven days of Microsoft Teams device usage by the number of users.
Microsoft_Office365_Teams_ActivityDataSourceMonitors the last seven days of Microsoft Teams activity.
Microsoft_Office365_OneDriveFileCountDataSourceMonitors OneDrive total and active files, as well as the time since the report was last updated.
Microsoft_Office365_OneDriveAccountsDataSourceMonitors the number of Active and Total accounts on OneDrive.
Microsoft_Office365_OneDriveStorageDataSourceMonitors OneDrive total storage used.
Microsoft_Office365_EmailActivityDataSourceMonitors Outlook total and rate counts for read, received, and sent emails.
Microsoft_Office365_EmailAppUsageDataSourceMonitors usage by application or Office version.
Microsoft_Office365_UserCountDataSourceMonitors individual Office365 services and their associated user activity.
Microsoft_Office365_SharepointSiteDetailsDataSourceMonitors the overall status of the SharePoint site.Note: Microsoft has removed identifiable user information such as usernames, groups, and sites from all their SharePoint usage reports. If you want to monitor SharePoint site details, you’ll need to make configuration changes to your Microsoft 365 settings to display the user information. For more information, see Show user details in the reports.
Microsoft_Office365_SharepointStorageDataSourceMonitors SharePoint site storage.
Microsoft_Office365_Skype_DeviceUsageDataSourceMonitors Skype usage by device type.
Microsoft_Office365_Skype_PeerActivityMinutesDataSourceMonitors Microsoft 365 Skype for Business user activity by minutes for video and audio.
Microsoft_Office365_Skype_PeerActivityDataSourceDisplays Skype for business peer-to-peer activity counts.
Microsoft_Office365_MailboxQuotaStatusDataSourceMonitors the number of Mailboxes in different quota states.
Microsoft_Office365_MailboxUsageDetailDataSourceFetches details about mailbox usage.
Microsoft_Office365_Yammer_Device_UsageDataSourceMonitors Yammer usage by device type.
Office365_SharepointOnline_TenantConfigConfigSourceCaptures SharePoint Online organization-level tenant config.
Office365_ExchangeOnline_UsersConfigSourceMonitors Exchange users in your organization.
Office365_ExchangeOnline_TransportConfigConfigSourceMonitors Exchange organization-wide transport configuration settings.
Office365_ExchangeOnline_OrganizationConfigSourceMonitors Exchange organization config.
Office365_ExchangeOnline_OWAMailboxPolicyConfigSourceMonitors Exchange Outlook on the web mailbox policies in the organization.
Office365_ExchangeOnline_MobileDevicesConfigSourceMonitors Exchange mobile device config for identification, configuration, and status information for each mobile device.
Office365_ExchangeOnline_MobileDeviceMailboxPolicyConfigSourceMonitors Exchange mobile device mailbox policy config.
Office365_ExchangeOnline_ManagementRolesConfigSourceMonitors the Exchange management role objects in your organization
Office365_ExchangeOnline_MailboxesConfigSourceMonitors the Exchange mailbox configs.
Office365_ExchangeOnline_GroupsConfigSourceMonitors the config group objects. Returns security groups, mail-enabled security groups, distribution groups, and role groups.

Microsoft Teams QoS DataSource

LogicMonitor’s MS Teams QoS (Quality of Service) DataSource monitors audio, video, and screen share metrics from MS Teams call records, which are made available by Microsoft. These metrics help identify MS Teams calls that are not performant, and which aspects of the calls are problematic. To use the MS Teams QoS DataSource, you must enable the Microsoft Graph permission CallRecords.Read.All in Microsoft Azure.

QoS Metrics and Reporting

QoS metrics are reported only for calls that have ended.

  • Microsoft reports a maximum latency of 60 minutes after a call ends before metrics may be made available. However, this period may be as short as 15 to 20 minutes.
  • Microsoft reports data for calls through the MS Teams app only — not from the browser.
  • By default, LogicMonitor reports QoS metrics every five minutes. The Poll Now feature in LogicMonitor (Datapoint > Raw Data) shows metrics for the last scheduled call.

Microsoft callRecord API

LogicMonitor uses Microsoft’s callRecord API to gather all QoS related data for recently-ended calls. The data is collected and processed, and performance metrics are reported to LogicMonitor. For example, you could collect data on the maximum audio jitter across all available segments of a call. For more information, see Get callRecord from the Microsoft documentation.

Audio, Video, and Sharing Metrics

The following metric types are monitored:

  • Audio stream
  • Video stream
  • App sharing or video-based screen sharing stream

Audio Stream Metrics

NameDescription
audioAverageJitterAverage audio jitter
audioAveragePacketLossRateAverage audio packet loss rate
audioAverageRoundTripTimeAverage audio round-trip time
audioCalleeNetworkBandwidthLowEventRatioCallee network bandwidth low event ratio
audioCalleeNetworkDelayEventRatioCallee network delay low event ratio
audioCalleeNetworkLinkSpeedAudio link speed for callee network in bits per second
audioCalleeNetworkReceivedQualityEventRatioCallee network received quality event ratio
audioCalleeNetworkSentQualityEventRatioCallee network sent quality event ratio
audioCallerNetworkBandwidthLowEventRatioCaller network bandwidth low event ratio
audioCallerNetworkDelayEventRatioCaller network delay event ratio
audioCallerNetworkLinkSpeedAudio link speed for caller network in bits per second
audioCallerNetworkReceivedQualityEventRatioCaller network received quality event ratio
audioCallerNetworkSentQualityEventRatioCaller network sent quality event ratio
audioMaxJitterMaximum audio jitter
audioMaxPacketLossRateMaximum packet loss rate for audio stream
audioMaxRoundTripTimeAudio maximum round-trip time
audioPacketUtilizationNumber of Real-Time Transport Protocol (RTP) audio packets sent in the session
averageAudioNetworkJitterAverage audio network jitter
maxAudioNetworkJitterMaximum audio network jitter

Video Stream Metrics

NameDescription
videoAverageAudioNetworkJitterAverage audio network jitter in video stream
videoAverageJitterAverage video jitter
videoAveragePacketLossRateAverage video packet loss rate
videoAverageReceivedFrameRateAverage video received frame rate
videoAverageRoundTripTimeAverage video round-trip time
videoAverageVideoFrameLossPercentageAverage video frame loss percentage
videoAverageVideoFrameRateAverage video frame rate
videoCalleeNetworkBandwidthLowEventRatioCallee network bandwidth low event ratio
videoCalleeNetworkDelayEventRatioCallee network delay event ratio
videoCalleeNetworkLinkSpeedCallee network link speed
videoCalleeNetworkReceivedQualityEventRatioCallee network received quality event ratio
videoCalleeNetworkSentQualityEventRatioCallee network sent quality event ratio
videoCallerNetworkBandwidthLowEventRatioCaller network bandwidth low event ratio
videoCallerNetworkDelayEventRatioCaller network delay event ratio
videoCallerNetworkLinkSpeedCaller network link speed
videoCallerNetworkReceivedQualityEventRatioCaller network received quality event ratio
videoCallerNetworkSentQualityEventRatioCaller network sent quality event ratio
videoLowFrameRateRatioVideo low frame rate ratio
videoMaxAudioNetworkJitterMaximum audio network jitter in video stream
videoMaxJitterVideo maximum jitter
videoMaxPacketLossRateMaximum packet loss rate for video stream
videoMaxRoundTripTimeVideo maximum round trip time
videoPacketUtilizationNumber of Real-Time Transport Protocol (RTP) video packets sent in the session

App Sharing or Video-Based Screen Sharing Stream Metrics

NameDescription (Application Sharing)
applicationSharingVideoAverageReceivedFrameRateVideo average received frame rate
applicationSharingVideoAverageVideoFrameRateVideo average frame rate
applicationSharingVideoCalleeNetworkBandwidthLowEventRatioCallee network bandwidth low event ratio for video
applicationSharingVideoCalleeNetworkDelayEventRatioCallee network delay event ratio for video
applicationSharingVideoCalleeNetworkLinkSpeedCallee network link speed for video
applicationSharingVideoCalleeNetworkReceivedQualityEventRatioCallee network received quality event ratio for video
applicationSharingVideoCalleeNetworkSentQualityEventRatioCallee network sent quality event ratio for video
applicationSharingVideoCallerNetworkBandwidthLowEventRatioCaller network bandwidth low event ratio for video
applicationSharingVideoCallerNetworkDelayEventRatioCaller network delay event ratio for video
applicationSharingVideoCallerNetworkLinkSpeedCaller network link speed for video
applicationSharingVideoCallerNetworkReceivedQualityEventRatioCaller network received quality event ratio for video
applicationSharingVideoCallerNetworkSentQualityEventRatioCaller network sent quality event ratio for video
In This Article