Support Center Home


Microsoft Office 365 Monitoring

Microsoft ​​Office 365 is a line of cloud-based software offered by Microsoft as part of the Microsoft Office product line. LogicMonitor offers out-of-the-box monitoring for Office 365. With LogicMonitor’s Office 365 package, you can monitor the state of your Microsoft Office 365 deployment and the underlying services and license usage that allows you to identify faults and manage performance.

Note: LogicMonitor also offers monitoring for the Microsoft Exchange server. For more information, see Microsoft Exchange Monitoring.

Prerequisites

Note: You may want to create a New App registration in the Azure portal before you start so that you have these IDs and Secret Key available for setting up permissions.
For more information, follow the steps for Setting UP Microsoft Graph API.

You may want to create a New App registration in the Azure portal before you start so that you have these IDs and Secret Key available for setting up permissions. For more information, follow the steps for Setting UP Microsoft Graph API.

Ensure to import the LogicModules before setting up Microsoft Office 365, to create a dashboard for monitoring resources.

Setting Up Microsoft Graph API 

Follow these steps to register and authorize a new application to call the reports API:

  1. Log into the Azure portal using an administrator account.
  2. From the Azure Services menu, click App registration.

    OR, you can enter app registration in the Search bar.


  3. On the App registration page, click + New Registration.
  1. Enter the name for the application.
  2. Select Support account types and click Register.
  1. On the Registration page, you can see the Application (client) ID and Directory (tenant) ID.


Note: You will require these details for the LogicMonitor portal.

  1. On the left navigation pane, click API permissions.
  1. Click +Add permission.
  1. On the Request API permission panel, click Microsoft Graph to configure Microsoft APIs.
  1. Click Application permissions.
  1. Add User.Read.All Permissions to gather properties for collection.
  1. Click Add permissions.
  1. On the left navigation pane, click Certificates & secrets.
  1. Add +New client secret.
  1. On the Add a client secret pane, add information in the Description and the Expires fields.
  1. Click Add.


Note: Ensure to copy or make a note of the Client Secret Key value. You will require to enter the value in the LogicMonitor value.

Import LogicModules

From the LogicMonitor repository, import all Microsoft Office 365 LogicModules, which are listed in the LogicModules in Package section of this support article. If these LogicModules are already present, ensure you have the most recent version.

Once the LogicModules are imported (assuming all previous setup requirements have been met), the PropertySources will automatically detect the host and assign the appropriate values to the system.categories property. This, in turn, will automatically associate the DataSources (and ConfigSources if supported by your LogicMonitor account) and data monitoring will begin.

LogicModules in Package

LogicMonitor’s package for Microsoft Office 365 consists of the following LogicModules. For full coverage, please ensure that all of these LogicModules are imported into your LogicMonitor platform.

Display NameTypeDescription
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_OneDriveStorageDataSourceMonitors OneDrive total storage used.
Microsoft_Office365_EmailActivityDataSourceMonitors Outlook total and rate counts for read, received, and sent emails.
Microsoft_Office365_UserCountDataSourceMonitors individual Office365 services and their associated user activity.
Microsoft_Office365_SharepointSiteDetailsDataSourceMonitors the overall status of the SharePoint site.
Microsoft_Office365_Yammer_Device_UsageDataSourceMonitors Yammer usage by device type.
Microsoft_Office365_Skype_DeviceUsageDataSourceMonitors Skype usage by device type.

Setting up Office 365 Monitoring

Add your Office 365 account into LogicMonitor from Exchange > Cloud Integrations.

Note: If you do not have access to Cloud Integrations, you can manually add your Microsoft Office 365 host into monitoring by creating a new resource with “outlook.office.com” as the IP address or DNS name. Be sure to assign a Windows-based Collector or Collector group to the resource. For more information on manually adding resources into monitoring, see Adding Devices.

For adding Office 365 account, complete the following steps:

  1. Log into the LogicMonitor Portal.
  1. On the left navigation pane, click Exchange.


  2. Click Cloud Integrations.
  1. Select Office 365 and click Add.
  1. On the Name page, enter the following details:
  • Name: (Required) Enter a name for the Office 365 account.
  • Description: Provide a description for this Office 365 account.
  • Parent Group: (Required) Assign the Office 365 account to a parent group. By default, it will be assigned to the root group of the portal.
  • Properties: Define properties and values.
  1. On the Permissions page, enter the following details:

Note: You can find this information in your Microsoft Azure portal, on the registration page for your app. For more information, follow the steps for Setting UP Microsoft Graph API.

  • Tenant ID: (Required) The Directory ID for your registered application.
  • Client ID: (Required) The Application ID for your registered application.
  • Secret Key: (Required) The application password.
  1. After you click Add Service, you should be able to view resources and dashboards from your Office 365 application.

Example Use Cases

Next, we’ve highlighted a sample dashboard and some sample monitoring scenarios that could be accomplished with the Office 365 LogicModule package.

Microsoft Office 365 Dashboard

Granular Monitoring of SharePoint

The SharePoint DataSources monitors multiple SharePoint site instance usage, traffic, storage, and file count, providing granular flexibility when monitoring SharePoint. With the information gleaned, you can decide whether to delete or combine sites that don’t get a lot of traffic but use up a considerable amount of storage.

Service Availability Monitoring

Track the availability of certain services including Exchange sign-in, voice mail, email, calendar, Microsoft portal, and billing page. Along with service availability monitoring, the Office365_Reports_ServicesUserActivity DataSource provides the total number of users that are utilizing the applications. The pairing of this information can be useful when prioritizing issues.

License Consumption

The Office365_Account_License DataSource alerts users when licenses are about to expire and also counts the surplus licenses available at any given time. When combined with our forecasting feature, this DataSource can help license capacity planning by indicating when it’s time to increase your license allocation. In the same spirit, the OneDrive DataSources, which track file counts and storage usage, can also provide essential capacity planning information.

User Activity

Using user activity historical data collected across multiple services, such as call volume, meeting attendance, message counts, and so on, you can look into repurposing the licenses of the least active users if you are running low on licenses, or you might find that some licensed users are not in the organization anymore.

There is also a device usage breakdown that allows you to track which devices (Windows, Macs, iPhones, Androids) are most popular within your organization. This data can be useful when testing internal applications to prioritize testing on those operating systems that are most heavily used within the organization.

In This Article