---
title: "Host Template: Application - Microsoft 365 - Overview"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/application-microsoft-365-opspack/application-microsoft-365-overview-host-template/index.html"
---## Overview

This Host Template allows you to monitor your Microsoft 365 Subscription at a high overview level, providing information on the number of users per plan and the service status of both the Identity Service and Microsoft 365 Portal.

This Host Template includes the following Service Checks:

| Service&nbsp;Check&nbsp;Name | Description | Default&nbsp;Thresholds (Metric:&nbsp;Warning,&nbsp;Critical) | UOM |
|:-----------------------------|:------------|:------------------------------------------------:|:---:|
| Microsoft 365 - Overview - Users Per Plan | The number of users per Microsoft 365 Plan | N/A | N/A |
| Microsoft 365 - Overview - Identity Service Status | The service status of the Microsoft 365 Identity Service and any reported issues | N/A | N/A |
| Microsoft 365 - Overview - Portal Service Status | The service status of the Microsoft 365 Portal and any reported issues | N/A | N/A |


**Note**


See details about [Monitoring Plugin thresholds here](https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT).



## Usage Instructions

Please review the overall [Application - Microsoft 365 Opspack](https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/application-microsoft-365-opspack/application-microsoft-365-opspack/index.html) documentation for details on prerequisites, known issues, and other necessary configurations that apply to all Host Templates in the Opspack.

### Add this Host Template

Add the **Application - Microsoft 365 - Overview** Host Template to your Opsview Monitor host.
If the resource you're monitoring has no hostname or public IP, then open the **Advanced** settings pane and change **Host Check Command** to **Always assumed to be UP**.


**Note**


For more information, refer to the documentation on [Adding Host Templates to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/host/index.html#host-templates).



### Add and configure Variables

The Service Checks in this Host Template use the following variables, and they will be added to your Opsview Monitor instance alongside the Host Template:

- [**MICROSOFT365_CREDENTIALS**](#microsoft365_credentials)


**Note**


For more information, refer to the documentation on [Adding Variables to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/adding-a-new-variable/index.html#adding-a-variable-to-a-host).



### Apply Changes

Apply Changes and the system will now be monitored:

![View Output](https://docscdn.itrsgroup.com/opsview/images/opspacks-application-microsoft-365-output-application-microsoft-365-overview.png)

## Available Variables

### MICROSOFT365_CREDENTIALS

The Value is not used and therefore can be set to anything. Override the arguments with your credentials.

| Plugin&nbsp;Parameter | Position&nbsp;in Variable | Name | Description |
|:---------------------:|:-------------------------:|:-----|:------------|
| N/A (Opsview UI Only) | Value | Microsoft 365 Credentials | The credentials for your Microsoft 365 account |
| `--client-id` | Arg1 | Microsoft 365 Client ID | ClientID of the Microsoft 365 account |
| `--client-secret` | Arg2 | Microsoft 365 Client Secret | Client Secret of the Microsoft 365 account |
| `--tenant-id` | Arg3 | Microsoft 365 Tenant ID | TenantID of the Microsoft 365 account |

## Plugin help

Plugin: `check_microsoft365`


**Secure Args**


This plugin uses the [Secure Args](https://docs.itrsgroup.com/docs/opsview/6.11.7/configuration/secure-arguments/index.html) feature for argument passing.



For mode-specific help, run the plugin with the `-h -m <mode>` flags. This will list the required and optional Variable Arguments for that mode.
The appropriate mode for each Service Check is listed here:

| Service&nbsp;Check&nbsp;Name | Mode |
|:-----------------------------|:-----|
| Microsoft 365 - Overview - Users Per Plan | `Microsoft365.Overview.Users.Per.Plan` |
| Microsoft 365 - Overview - Identity Service Status | `Microsoft365.Overview.Identity.Service.Status` |
| Microsoft 365 - Overview - Portal Service Status | `Microsoft365.Overview.Portal.Service.Status` |


