M365 Teams Network Assessment Round Trip Latency Monitor

Microsoft.SystemCenter.M365.Monitor.Teams.RoundTripLatency (UnitMonitor)

This monitor evaluates whether the Microsoft Teams Network Assessment Tool reports an acceptable round-trip latency.

Knowledge Base article:

Summary

This monitor utilizes the network assessment tool to verify the performance of Teams. This monitor has two health states, healthy and critical. The health state is determined if the network assessment tool returns a round-trip latency less than the threshold.

This monitor contains the following overridable parameters.

-Interval (seconds)- Default Value: 900 seconds - This sets how long the monitor waits until running the monitor again. The default value can be left or can be adjusted to fit the environment.

-Threshold Value- Default Value: 100 milliseconds - This sets upper threshold for round-trip latency (must be less than the threshold). The default value can be left or can be adjusted to fit the environment.

Causes

An error state is caused by having issues with connecting to Microsoft 365 or fetching data. It can be caused by the following:

Resolutions

Resolution depends on the specific error. Verify and/or fix the following:

Element properties:

TargetMicrosoft.SystemCenter.M365.WatcherNodeApplication.Teams
Parent MonitorMicrosoft.SystemCenter.M365.Monitor.Performance.WatcherNode.Teams
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.M365.Monitor.Teams.Value.UnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
M365 Teams Network Assessment Round Trip Latency Monitor: Failure
This monitor has detected an unacceptable round-trip latency ({0} milliseconds).
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.M365.Monitor.Teams.RoundTripLatency" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.M365.WatcherNodeApplication.Teams" ParentMonitorID="Microsoft.SystemCenter.M365.Monitor.Performance.WatcherNode.Teams" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.M365.Monitor.Teams.Value.UnitMonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.M365.Monitor.Teams.RoundTripLatency.Alert.Message">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='Round Trip Latency in ms']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Error" MonitorTypeStateID="Critical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<Property>Round Trip Latency in ms</Property>
<Threshold>100</Threshold>
<MatchCount>1</MatchCount>
</Configuration>
</UnitMonitor>