How Zabbix watches Microsoft 365 service health and usage
The supported way to bring Microsoft 365 service status and usage trends into an existing Zabbix installation is the official Microsoft 365 reports by HTTP template, which calls Microsoft Graph rather than scraping portal pages. The template discovers the cloud services in your tenant and creates items for each one, so the service list follows what your tenant actually subscribes to instead of a hand-maintained host list. It raises a trigger for the Degraded state at Warning severity and for the Interruption state at Average severity, which means the severity your on-call team sees depends on how you map Microsoft's status to your own escalation rules.
Usage data comes from weekly reports rather than live telemetry. The template collects daily usage metrics for Teams, Outlook, OneDrive, SharePoint and Apps from those reports, so the value is in trend lines such as active users or storage growth over several weeks, not in minute-by-minute alerting on user activity. Plan your dashboards and any capacity thresholds around that lag. Confirm with the template documentation which report fields are exposed in your version, because the set of metrics is what you will rely on for reviews and cannot be assumed from the service names alone.
Before you import anything, confirm that your Zabbix server is version 7.2 or later, since the template requires it, and that someone with tenant administrator rights can grant the Microsoft Graph application permissions Reports.Read.All and ServiceHealth.Read.All with administrator consent. Those are application permissions, so the credential Zabbix uses belongs to an app registration rather than a person, and the consent decision belongs to your identity team. The Zabbix Microsoft 365 integration page lists the current setup steps; check them against your Zabbix version before you start, because the secret handling and macro names are where most first-time setups stall.
What you need before connecting Zabbix to Microsoft 365
Connecting Zabbix to Microsoft 365 depends on four things lining up: a Zabbix version that ships the template, a Microsoft Entra app with the right Graph permissions and consent, a network path to Microsoft Graph, and a tenant administrator who can approve the access. Check each one before you import anything, because a gap in any of them shows up later as empty items or failed polls.
Zabbix 7.2 or later
The official Microsoft 365 reports by HTTP template requires Zabbix 7.2 or later. Confirm the version on the Zabbix server and on any proxy that will run the template's HTTP polling, and plan the upgrade first if the installation is older. Check the template's compatibility notes on the integration page before you assume a point release is enough, since the template is versioned with the product.
Zabbix integration pageEntra app registration
Create an app registration in Microsoft Entra for Zabbix to authenticate as. The template reads data with application permissions, so no user signs in and no user session is involved. Record the tenant ID, client ID and the credential you issue to the app, and keep that credential in your secrets process rather than in a shared document. Ask who owns the app registration after go-live, since its credential will expire and need rotation.
Graph application permissions
Grant the app two Microsoft Graph application permissions: Reports.Read.All for daily usage metrics from the weekly reports, and ServiceHealth.Read.All for service health status. Grant only these two. Application permissions apply to the whole tenant, so a broader grant widens what the Zabbix credential can read. Confirm the exact permission names against the current Microsoft Graph documentation before you configure them.
Administrator consent
Application permissions take effect only after a tenant administrator grants admin consent for the app. Users cannot consent to these permissions on their own. Identify a Global Administrator or a privileged role holder who can approve the grant, and schedule the approval before the project timeline depends on it. Keep the consent record and the permission list with the change ticket so your security team can review them later.
Network path to Microsoft Graph
The Zabbix server or the proxy that polls Microsoft 365 must reach Microsoft Graph and the Microsoft login endpoints over outbound HTTPS. Where traffic leaves through a firewall, proxy or restricted egress, add those destinations to the allow list and test from the actual polling host, not from a workstation. Confirm the exact endpoints, and any certificate or TLS inspection requirements, on the official integration page, because they can change and may differ for your cloud environment.
Polling host and TLS trust
Decide which Zabbix component performs the HTTP requests, the server or a proxy in the same network zone, and confirm it trusts the certificates presented on the outbound path. If your egress inspects TLS, the polling host needs the inspection CA in its trust store, or requests fail with certificate errors that look like permission problems. Test one request end to end before you import the template.
Configuring the Microsoft 365 reports by HTTP template step by step
This sequence takes you from an Entra app registration to a Zabbix host that discovers Microsoft 365 cloud services and fills in Teams, Outlook, OneDrive, SharePoint and Apps usage items. Each step ends with a check you can run before moving on.
Confirm the Zabbix version and template prerequisites
Before anything else, confirm that your Zabbix server and web frontend run version 7.2 or later, since the Microsoft 365 reports by HTTP template requires it. Confirm you have a Microsoft 365 administrator account that can register applications and grant admin consent in Entra. Check that the Zabbix server can reach the Microsoft Graph endpoints over outbound HTTPS, through any proxy your network uses. You are done when the template is visible in your Zabbix template list and the version check passes.
Register the application in Entra
In the Microsoft Entra admin center, a tenant administrator creates an app registration for Zabbix. Record the directory (tenant) ID and the application (client) ID, and create a client secret or certificate that Zabbix will use to authenticate. Store the secret in your secrets vault, not in a ticket or chat. You are done when the app registration shows the tenant ID, client ID and a credential with an expiry date you have noted for renewal.
Grant the Graph application permissions
In the app registration's API permissions, add the Microsoft Graph application permissions Reports.Read.All and ServiceHealth.Read.All. These are application permissions, not delegated ones, so Zabbix can run without a signed-in user. Confirm the list shows exactly these two permissions and no broader Graph scopes. You are done when both permissions appear in the list with the type Application.
Record administrator consent
A Global Administrator or Privileged Role Administrator selects the grant admin consent action for the tenant. Application permissions do not take effect until this consent is recorded. Check that the status column for both permissions shows granted for the tenant. You are done when the consent status reads granted for both permissions, and you have saved the consent date and approver in your change record.
Create the Zabbix host with the template
In the Zabbix frontend, create a host for the Microsoft 365 tenant, assign it to a host group your team uses for cloud accounts, and link the official Microsoft 365 reports by HTTP template. Keep the host separate from on-premises servers so alerts and permissions stay scoped to the tenant. You are done when the host appears in the host list with the template linked and no unresolved template errors.
Set the tenant and credential macros
Open the host's macros and set the tenant identifier, client ID and the client secret or certificate values from your app registration, using the secret macro type so the value is masked in the frontend. Confirm the macro names against the template documentation for your Zabbix version rather than copying names from older guides. You are done when the macros are set, the secret values display masked, and a test of the authentication item returns a value rather than an authentication error.
Let discovery find the cloud services
Wait for the discovery rule to run, or trigger it manually from the template's discovery rules. The template discovers the cloud services in the tenant and creates items and triggers for each one. Review the discovered services in the host's item list. You are done when the expected services, such as Teams, Exchange Online, OneDrive and SharePoint, appear as discovered entries with their status items populating.
Confirm usage items and triggers after the first weekly report
Usage metrics come from weekly reports, so the daily usage items may stay empty until Microsoft publishes the first report after consent. Allow for that delay, then check the Teams, Outlook, OneDrive, SharePoint and Apps usage items for values. Verify that the Degraded (Warning) and Interruption (Average) triggers are enabled and that the service status items show current states. You are done when the usage items hold values, the status items match the Microsoft 365 service health page, and you have written down the first report date for your records.
Which Microsoft 365 services and fields map to Zabbix items
This table traces each Microsoft 365 data source through the official reports by HTTP template to the Zabbix objects it creates, with the severity or timing that applies to each. Read it to decide which alerts you can rely on and which numbers are only trends. The main takeaway is that service health drives alerts, while usage figures arrive on a weekly report cadence and lag real activity.
| Microsoft 365 source | Zabbix object created | Severity or timing | What to confirm |
|---|---|---|---|
| Discovered cloud services in the tenant | Discovered items and triggers per service, created by low-level discovery | Follows the services present in your tenant at discovery time | Which services appear in your tenant and how often discovery re-runs |
| Service in Degraded state | Health status item and a trigger for the Degraded state | Warning severity | The exact item key and trigger expression in the template version you import |
| Service in Interruption state | Health status item and a trigger for the Interruption state | Average severity | Whether your escalation and notification rules route Average problems to the right team |
| Teams usage from weekly reports | Daily usage metric items for Teams | Daily values derived from weekly reports, so data lags real activity | Item keys, update intervals and the report period each value covers |
| Outlook usage from weekly reports | Daily usage metric items for Outlook | Daily values derived from weekly reports, so data lags real activity | Which Outlook metrics the template collects and their units |
| OneDrive and SharePoint usage | Daily usage metric items for OneDrive and SharePoint | Daily values derived from weekly reports, so data lags real activity | Whether metrics are per tenant or per site, and how they are named |
| Apps usage from weekly reports | Daily usage metric items for Apps | Daily values derived from weekly reports, so data lags real activity | Which app-level fields are present and whether any are missing for your tenant |
How discovery, triggers and usage collection behave
Service health is discovered and polled per tenant, and the triggers only reflect what Microsoft Graph reports for each service. The Microsoft 365 reports by HTTP template discovers the cloud services in the tenant, creates an item for each, and raises a trigger when a service enters the Degraded state (Warning severity) or the Interruption state (Average severity). That means the alert quality depends on the health data Microsoft publishes, not on anything Zabbix measures itself. A service that Microsoft reports as healthy while users experience a problem will not produce a Zabbix problem. Before go-live, confirm with your Microsoft 365 administrators which services you expect to see, run one controlled poll, and compare the discovered list against the admin center so the team knows what the template covers in your tenant.
Usage trend charts are daily, but they are not real time. The template collects daily usage metrics for Teams, Outlook, OneDrive, SharePoint and Apps from weekly reports, so a drop in activity shows up as a trend on the next collection cycle, and the underlying report can lag the activity it describes. Do not use these items for incident detection or for same-day capacity decisions. Set expectations with the service owners who will read the charts, and confirm with Microsoft's current report retention and refresh behavior before relying on any trend window for a review.
Plan for a discovered service that later disappears from the tenant. A service can drop out of discovery because Microsoft retires or renames it, because the tenant license changes, or because the Graph permission or consent is revoked, and these causes look the same in Zabbix. Decide in advance how the team will tell them apart: check the Graph response and the consent state first, then the Microsoft 365 service list. Disable or remove the discovered item only after that check, and keep the history for the review period. Otherwise a permission problem will look like a service that has been decommissioned, and the last known health state will stop updating without anyone being alerted.
Securing the Graph app and the Zabbix credentials
The Microsoft 365 template reads tenant health and usage data through a single Entra app registration, so its permissions, its secret and the people who can see that secret in Zabbix all need deliberate limits. The cards below cover the app itself, how its credentials are stored and rotated in Zabbix, who can view them, and how to confirm the app is used only as intended.
Grant only the two listed permissions
The template needs the Microsoft Graph application permissions Reports.Read.All and ServiceHealth.Read.All, each with administrator consent. Grant those two and nothing else, even if a broader permission would simplify troubleshooting. Before consenting, check the requested permissions on the app registration against this list, and remove any extra Graph permissions added during testing. Keep a written record of who approved consent and when.
Zabbix Microsoft 365 integrationStore the secret in secret macros
The app's client secret or certificate belongs in a Zabbix secret macro, not in a plain host macro. Plain macros are readable by anyone who can view the host configuration, and they appear in exports and API responses. Confirm that the macro holding the credential is marked secret, and check that it does not also appear in item names, descriptions or tags where it would be visible to viewers.
Restrict host and macro visibility by role
Use Zabbix user roles and user groups so that only a small operator group can view or edit the Microsoft 365 host and its macros. Read-only dashboard users should see problems and trends without seeing the host's configuration. Confirm the role for this host group in a test account before handing out access. The finer points of roles and API tokens are covered on the Zabbix security page.
Rotate the client secret on a schedule
Set an expiry for the client secret or certificate in Entra and record the date in your change calendar. Plan the rotation as a two-step change: add the new secret in Entra, update the Zabbix secret macro, confirm that the next data collection succeeds, then remove the old secret. Doing this in the wrong order will stop health and usage data from updating, so test the change in a non-production tenant or during a quiet window.
Review consent and sign-in logs in Entra
In Entra, review the enterprise application's permissions, its owners and its sign-in activity on a regular cadence. Unexpected sign-ins, new consent grants or new owners on the app are signs the credential may have been copied. Confirm that the sign-in logs show only the Zabbix collection pattern you expect. Retain these logs according to your own audit policy, since Entra's default retention depends on your license, so confirm it with your tenant administrators.
Keep the app owned by a managed group
Assign the app registration to a named owner group rather than an individual, so ownership survives staff changes. Record who can add secrets, change permissions and grant consent, and remove standing access for anyone who no longer runs the monitoring. Confirm the owner group in a review each time the monitoring team changes, because an app whose owner has left is hard to rotate safely.
Why the template returns no data or no alerts
This table lists the failures that most often leave the Microsoft 365 template empty or silent, with the cause and fix for each. Work through the rows in order, since consent and version problems block everything else. Most gaps trace back to one of these checks.
| Symptom | Likely cause | Fix |
|---|---|---|
| Permissions show as pending | Administrator consent was never granted for Reports.Read.All and ServiceHealth.Read.All | Have a Global Administrator or Privileged Role Administrator grant admin consent for both application permissions in the app registration, then confirm both show as granted |
| Template not available or items missing | Zabbix is older than 7.2, the minimum version the template requires | Confirm the server and proxies run Zabbix 7.2 or later, and upgrade the components that collect data before importing the template |
| Host shows unreachable or every item errors | The Zabbix server or proxy cannot open an outbound HTTPS connection to Microsoft Graph endpoints | Test outbound HTTPS from the collecting host, check firewall, proxy and DNS rules, and allow the Microsoft endpoints your network team confirms for Graph |
| Authentication errors on every request | The tenant identifier in the host macros does not match the directory the app was registered in | Copy the tenant ID from the Microsoft Entra admin center for the same tenant as the app registration, and update the macro on the host |
| Authentication errors after working for a time | The client secret has expired or was rotated without updating the Zabbix macro | Check the secret's expiry date in the app registration, create a new secret, update the macro, and set a reminder before the next expiry |
| Usage items empty right after setup | Usage metrics come from weekly reports, so no data exists until the first report is published | Expect empty usage items until the first weekly report arrives, and confirm the report-related items have values before treating the setup as broken |
| Service items show healthy but no alert fires | Triggers only fire for the Degraded (Warning) and Interruption (Average) states, so other states never raise a problem | Review the service status in the template against the Microsoft 365 service health page, and add separate notifications for states the template does not trigger on |
What the template cannot alert on
The official Microsoft 365 reports by HTTP template only alerts on service health. It raises triggers for the Degraded (Warning) and Interruption (Average) states of discovered cloud services, and nothing else. It does not alert on usage thresholds, such as a sudden drop in Teams meetings or a spike in OneDrive activity, on per-user behavior, on licence assignment or removal, or on security events such as sign-in anomalies or administrative role changes. The usage metrics for Teams, Outlook, OneDrive, SharePoint and Apps are collected from weekly reports, so they are trend data for dashboards and review, not a near-real-time signal. If a team expects any of those conditions to page someone, it has to build that alerting itself, and the design should say so before the template is switched on.
Any usage-based or governance alert needs custom items and triggers on top of the template. In practice that means choosing which metric to watch, how far it must move from a baseline before it counts as a problem, and how the trigger handles weekly data that arrives late or with gaps. Each of these is a design decision with a cost in tuning and review time. Confirm with the vendor documentation which item keys the template exposes in your Zabbix version before writing triggers against them, and plan for the template to change after upgrades. Teams should also decide who owns those custom checks, since a custom trigger that nobody maintains quietly stops being accurate.
Test the path a Degraded state takes before relying on it. A trigger that fires correctly in Zabbix still fails if the problem never reaches the right team: the action may target the wrong user group, the notification may go to a channel nobody watches, or the event may be suppressed by a maintenance window or a correlation rule. Run a controlled test, record who was notified and how long it took, and confirm the same route works outside office hours. Use the recovery message check as well, so a resolved Microsoft 365 incident does not leave an open problem in the queue.
Questions buyers ask before connecting Zabbix to Microsoft 365
What drives the effort and cost of connecting Zabbix to Microsoft 365?
The main drivers are the internal time for Entra app registration and administrator consent, whether your Zabbix server is at a version that supports the template, how many custom alerts you need beyond the template's own triggers, and the ongoing upkeep of the credentials. Registration and consent are usually short tasks, but they need a tenant administrator to approve permissions that read service health and usage reports. Version readiness matters because the template requires Zabbix 7.2 or later, so an older installation adds an upgrade step first. Custom alert design and credential rotation recur over time. Any price comes from a written scope that lists these items, not from a published rate. DeployOpen does not publish a price list. Ask for a quote that separates one-time setup from recurring upkeep.
Can our own team connect Zabbix to Microsoft 365 without a partner?
Yes, a team with a Zabbix administrator and a Microsoft 365 tenant administrator can usually do the core setup alone, because the official template is documented and the work is mostly configuration. The harder parts are the permission model, the admin consent step and testing that alerts reach the right people. Teams without recent Microsoft Graph experience often spend more time on those points than on Zabbix itself. A partner is useful when you want the setup reviewed against your security policy, when you need custom alert routing, or when you want the work documented for an assessment. DeployOpen plans, implements and documents self-hosted platforms in your own infrastructure, and a fixed-scope engagement starts from an agreed written scope.
What do we need to provide before the work starts?
You need three things: a tenant administrator who can register an application in Microsoft Entra and grant administrator consent for the Graph application permissions Reports.Read.All and ServiceHealth.Read.All, a Zabbix administrator who can import the template and create hosts, macros and alert actions, and network access that lets the Zabbix server or proxy reach the Microsoft Graph endpoints over HTTPS. Confirm that your firewall or proxy policy allows that outbound path before testing. You should also confirm the Zabbix version in your environment, since the template requires Zabbix 7.2 or later. If your team cannot grant admin consent, plan that approval as a dependency, because the template cannot collect data until it is granted.
How long do setup and testing take?
The duration depends on scope rather than on a fixed number, so this page does not give one. A single tenant with the template and standard triggers takes less time than a setup with several tenants, custom alert routing to ticketing or chat, and a test plan that your change board must approve. Approval cycles for admin consent are often the longest wait and sit outside the technical work. Ask any provider for a timeline tied to a written scope that lists the tenants, the alert destinations, the test cases and who approves each step.
Will the template alert on everything that matters in Microsoft 365?
No. The official template discovers the cloud services in the tenant and raises triggers for Degraded, reported as Warning, and Interruption, reported as Average, states. It also collects daily usage metrics for Teams, Outlook, OneDrive, SharePoint and Apps from weekly reports. It does not replace your incident process for user-facing issues, and it does not provide alerts on usage thresholds, sign-in anomalies or security events unless you build them. Plan those extra alerts as custom work, and test each one against real service data before relying on it.
What ongoing work does the connection need after go-live?
The recurring work is credential upkeep, template maintenance and alert review. The Entra application secret or certificate has an expiry date, so someone must rotate it before it lapses, and the permissions and consent should be checked when your tenant policies change. Template updates should be tested on a non-production Zabbix before they replace the current version, and alert routing needs review whenever staff or channels change. Confirm who owns each of these tasks in your own runbook. DeployOpen offers ongoing support, upgrades and continuous testing as retainers if you prefer to outsource that recurring work.
Does connecting Zabbix to Microsoft 365 help with our compliance evidence?
It can produce operational records, such as service health history and alert logs, that assessors may ask to see. It does not make your organization compliant by itself, and no tool issues an audit report or certification. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies make the determination. Ask your assessor early which records they expect, how long they must be retained and who can access them, then design the Zabbix configuration around those answers.
Should we test the Microsoft 365 connection before production?
Yes. Test the permission grant, the data collection, the triggers and the alert delivery in a separate Zabbix environment that uses a non-production or lab tenant where possible. Check that a simulated or documented service state produces the expected Zabbix problem and notification, and that recovery closes it. Record the results, because they become the evidence that your alerting works as designed. Testing also shows whether the Graph permissions are broader than your policy allows, which is easier to fix before go-live.
How Zabbix reaches Microsoft Graph through the template
The flow starts at the Zabbix server or proxy, which runs the reports by HTTP template and calls Microsoft Graph with an Entra app registration. That app holds the two application permissions, Reports.Read.All and ServiceHealth.Read.All, and both need administrator consent before any data flows. The key boundary is between your Zabbix host and the Microsoft cloud: service health and weekly usage reports come back across it, and alerts go out to operators from Zabbix. Check consent and the outbound path first.
Data and permission path from the Zabbix host to Microsoft Graph and back to operators.
How DeployOpen works on this
DeployOpen plans, implements and documents Zabbix Microsoft 365 service health and usage monitoring inside your own infrastructure, starting from a written scope that names the tenant, the Graph permissions, the services and the alert routes. The work is agreed before it starts, so the people approving admin consent know exactly what the template will read and what it will not alert on.
How we scope
- We confirm your Zabbix version is 7.2 or later, since the official template requires it.
- We list the Graph application permissions, Reports.Read.All and ServiceHealth.Read.All, and who grants administrator consent.
- We agree which Teams, Outlook, OneDrive, SharePoint and Apps usage metrics and service health alerts are in scope.
How we build
- We deploy the Microsoft 365 reports by HTTP template and check that cloud service discovery finds the expected services.
- We test the Degraded (Warning) and Interruption (Average) triggers and confirm how notifications reach your on-call routes.
- We document each gap, such as usage trends that the template does not alert on, and agree how your team will watch those separately.
How we hand over
- We deliver a written record of the permissions, consent decisions, template version, macros and trigger mapping.
- We walk your administrators through the Graph permission model and how to review the app registration later.
- We hand over a runbook covering credential rotation, template updates and what to do when discovery stops returning services.
How we support
- Fixed-scope engagements close with agreed deliverables and a defined handover, with changes handled through a new written scope.
- Ongoing support, template upgrades and continuous checks are available as a retainer, with terms set in writing.
- We can review the setup again after Zabbix upgrades or changes to the tenant's Microsoft 365 services.

