Collecting Logs for Support

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 12 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Troubleshooting Microsoft Teams Rooms: A Comprehensive Guide to Collecting Logs

Introduction: Why Log Collection Matters

When a Microsoft Teams Room (MTR) system fails—whether it is a hardware peripheral disconnecting, a failure to join a scheduled meeting, or an intermittent audio issue—the complexity of the environment can make diagnosis difficult. You are dealing with a combination of Windows 10/11 IoT Enterprise, the Microsoft Teams application, hardware firmware from manufacturers like Logitech, Poly, or Creepstron, and the underlying network infrastructure. Without a structured approach to log collection, you are essentially guessing at the root cause, which leads to wasted time and frustrated end-users.

Log collection is the process of extracting diagnostic data from the MTR system to understand its internal state at the time of an incident. These logs act as the "black box" of the meeting room. They provide the necessary visibility into service crashes, network timeouts, authentication errors, and peripheral driver conflicts. Mastering the collection of these logs is not just a technical task; it is the fundamental skill required to move from reactive "reboot and hope" troubleshooting to proactive, root-cause analysis. This lesson will guide you through the methods of collecting these logs, interpreting what you find, and establishing a professional workflow for resolution.


Not read yet

The Architecture of MTR Logs

To effectively collect logs, you must understand where they live. Microsoft Teams Rooms on Windows stores logs in specific directories that aggregate information from multiple sources. These logs include the application logs (Teams), the platform logs (Windows Event Viewer), and the device-specific logs (peripheral health).

The Log Structure

The MTR application keeps logs organized by component. When you initiate a log collection, the system typically bundles these into a ZIP file. Understanding this structure helps you identify which file to open when you are looking for a specific issue.

  • App Logs: These contain the high-level events of the Teams application, including sign-in attempts, meeting join signals, and UI state changes.
  • ETW (Event Tracing for Windows): These are low-level system traces that record hardware interactions and kernel-level events.
  • PowerShell Logs: If you have run automated scripts to manage the room, these logs track the execution and success or failure of those commands.
  • Peripheral Logs: These contain data from the camera, microphone, and speakerphone, which are vital when hardware isn't being detected by the OS.

Callout: The "Black Box" Analogy Think of MTR log files like the flight data recorder of an airplane. When a meeting fails, the logs don't just tell you that it failed; they tell you the exact millisecond the connection dropped, whether the network bandwidth spiked, or if the audio device driver hung during initialization. Just as an investigator reconstructs a flight path, a support engineer reconstructs the meeting lifecycle using these files.


Not read yet

Method 1: Using the Built-in Log Collector

The most straightforward and recommended way to gather data is through the MTR interface itself. This method is designed to be accessible even if you do not have deep knowledge of the underlying file system.

Step-by-Step: The MTR Log Collector

  1. Access the Settings: On the MTR touch console, tap the "More" button (the three dots) and select "Settings."
  2. Authentication: Enter the administrator password for the room. If you do not have this, you will need to retrieve it from your IT management portal (such as Microsoft Endpoint Manager or Intune).
  3. Navigate to Diagnostics: In the settings menu, look for the "Diagnostics" tab.
  4. Initiate Collection: Tap the "Collect Logs" button. The system will prompt you for a location to save the log files.
  5. Export: If you are on the console, you can plug in a USB drive and save the ZIP file directly to it. If you are accessing the machine via Remote Desktop (RDP), you can save the file to a local folder and then copy it to your management workstation.

Tip: Always perform the log collection immediately after the issue occurs. MTR devices frequently cycle logs to save disk space. If you wait 24 hours to collect them, the evidence of the original incident may have been overwritten by newer, irrelevant logs.


Not read yet

Method 2: Manual Collection via PowerShell

For power users and administrators managing large fleets, the manual collection method via PowerShell is often more efficient. This allows you to script the process or execute it remotely across multiple devices without needing physical access to the room.

The PowerShell Script

Microsoft provides a specific script installed on every MTR device located at C:\Rigel\x64\Scripts\CollectLogs.ps1. This script is the engine behind the "Collect Logs" button in the UI.

To run this manually:

  1. Log in as Admin: Exit the Teams Rooms application to reach the Windows desktop.
  2. Open PowerShell: Run PowerShell as an Administrator.
  3. Execute the Script:
    # Navigate to the scripts directory
    cd C:\Rigel\x64\Scripts\
    
    # Execute the collection script
    .\CollectLogs.ps1
    
  4. Retrieve the Files: The script will generate a compressed folder in the C:\Users\<username>\AppData\Local\Temp directory or a specific output folder defined in the script parameters.

Why use PowerShell?

Using the script directly allows you to pass parameters, such as defining the output path or including extended debugging information. This is particularly useful when you are working with Microsoft Support and they request a specific "verbosity level" for the logs.

Warning: Never attempt to manually copy files from the C:\Users\Skype\AppData\Local\Packages folders while the Teams application is running. You will likely encounter "file in use" errors, and the resulting archive will be incomplete or corrupted. Always use the provided CollectLogs.ps1 script to ensure all files are properly handled.


Not read yet

Analyzing the Logs: What to Look For

Once you have the ZIP file, you will be overwhelmed by the sheer number of text and XML files. Do not try to read every line. Instead, use a structured approach to filter the noise.

Common Troubleshooting Keywords

When opening the logs in a text editor (like Visual Studio Code or Notepad++), search for these strings:

  • "Error" or "Exception": The standard indicators of a failure.
  • "Failed to start": Often appears when a peripheral driver fails to load.
  • "Disconnected": Search for this in the network or audio logs to see if a device unplugged itself.
  • "Auth": If users are having trouble signing in, search for "Auth" to see if the machine is getting a 401 Unauthorized or 403 Forbidden response from the server.

The Correlation Technique

The most effective way to analyze logs is to use a timestamp. If the meeting failure happened at 10:15 AM, look at the logs generated at exactly 10:15:00. Match the timestamp in the TeamsApp.log with the timestamp in the Windows System Event Log. If the Teams app crashed at 10:15:00 and the System log shows a driver error for the camera at 10:14:58, you have found your root cause: the camera driver crashed, which subsequently caused the Teams application to hang.


Not read yet

Best Practices for Log Management

Managing logs across a fleet of 50 or 500 rooms requires more than just knowing how to click a button. You need a strategy for storage, retention, and escalation.

1. Standardize Naming Conventions

When you collect logs from multiple rooms, they will all be named something generic like logs.zip. Rename them immediately upon collection to include the room name and the date: RoomName_IssueDate_IncidentDescription.zip. This prevents accidental overwriting and helps keep your support tickets organized.

2. Use Centralized Monitoring

Instead of waiting for a user to complain and then running a manual log collection, use the Microsoft Teams Rooms Pro Management Portal. This portal automatically monitors device health and can pull logs remotely. It provides a dashboard view of your entire estate, allowing you to identify "flapping" devices before they become a total failure.

3. Establish a "Known Good" Baseline

Keep a copy of logs from a room that is working perfectly. When you have a failing room, you can compare the two sets of logs. If the failing room shows a specific service missing that is present in the "known good" logs, you have an immediate path to a fix (such as reinstalling a specific driver or service).

Callout: Proactive vs. Reactive Troubleshooting Many organizations treat log collection as a reactive task—only doing it after a room goes down. However, the best administrators perform a "Health Check" log collection on a quarterly basis. By comparing these baseline logs to current logs, you can often spot "silent failures," such as a firmware update that didn't apply correctly, before the end-users ever experience an issue.


Not read yet

Common Pitfalls to Avoid

Even experienced technicians fall into common traps when troubleshooting MTR systems. Avoiding these will save you hours of frustration.

Pitfall 1: Ignoring the Windows Event Viewer

Many admins focus exclusively on the Teams-specific logs. However, MTR is still Windows. If the network interface card (NIC) is dropping packets or if the power management settings are putting the USB ports to sleep, the Teams app logs will simply show "Network Interruption." You need to check the Windows System and Application logs to see if the hardware itself is the culprit.

Pitfall 2: Forgetting Peripheral Firmware

A common issue is assuming that updating the Teams app is enough. Many MTR issues are caused by outdated firmware on the cameras, microphones, or the touch console itself. If your logs consistently show "Device Not Found," check the peripheral manufacturer's management software (e.g., Logitech Sync or Poly Lens) before assuming it is a software bug in Teams.

Pitfall 3: Failing to Verify Time Synchronization

If the logs from your MTR device show a different time than your server logs, you will be looking at the wrong events. Ensure all MTR devices are correctly synced with your NTP (Network Time Protocol) server. A time offset of even a few minutes can make it impossible to correlate logs across your infrastructure.

Pitfall 4: Over-relying on Log Analysis

Sometimes, the logs are a distraction. If a room has no audio, check the physical cables, the mute button on the table, and the volume settings on the display. Don't spend three hours parsing logs if a cable is unplugged. Use the "Physical Layer" check first—power, cables, and connections—before diving into the digital logs.


Not read yet

Comparison of Troubleshooting Methods

Method Speed Complexity Best Used For
MTR UI Collector Fast Low Quick checks, non-technical staff
PowerShell Script Fast Medium Remote management, bulk collection
Event Viewer Slow High Deep dive into hardware/OS issues
Pro Management Portal Instant Low Fleet monitoring, trend analysis

Step-by-Step: Troubleshooting a "Meeting Join" Failure

Let's walk through a scenario where a user reports that a room fails to join a meeting.

  1. Verify the Status: Check the MTR console. Does it show the meeting in the calendar? If not, the issue is likely Exchange/Calendar integration, not the MTR hardware.
  2. Attempt a Manual Join: If the room is sitting idle, try to join a "Meet Now" call. If this works, the meeting join failure is likely related to the specific meeting link or a policy issue (e.g., guest access).
  3. Collect Logs: Use the CollectLogs.ps1 script as described earlier.
  4. Filter by Time: Open the TeamsApp.log and search for the timestamp when the user attempted to join.
  5. Look for "JoinFailure": Search for the string "JoinFailure". This will often provide a specific sub-code (e.g., "JoinFailure_Network" or "JoinFailure_Auth").
  6. Address the Root Cause:
    • If it is a network issue, check your firewall logs for blocked traffic to Teams endpoints.
    • If it is an auth issue, check the room account's password expiration or Conditional Access policies.

Note: Always ensure the MTR device has access to the required Microsoft 365 endpoints. A common "hidden" issue is a firewall or proxy server that allows standard web traffic but blocks the specific UDP/TCP ports required for high-quality audio and video streams.


Not read yet

Advanced Troubleshooting: Using ETW Traces

If standard logs do not reveal the answer, you may need to collect ETW (Event Tracing for Windows) traces. These are highly detailed, granular logs that capture everything the CPU and OS are doing.

When to use ETW

Use ETW only when you have exhausted all other options. These logs are massive—often hundreds of megabytes—and require specialized tools like the Windows Performance Toolkit to interpret. They are essentially for developers or high-level support engineers to see memory leaks or kernel-level thread blocking.

How to Collect ETW

  1. Open an elevated command prompt.
  2. Use the netsh command to start a trace: netsh trace start capture=yes tracefile=c:\logs\mtr_trace.etl.
  3. Reproduce the issue (e.g., try to join the meeting again).
  4. Stop the trace: netsh trace stop.
  5. This will create an .etl file that you can provide to Microsoft Support.

Managing Logs in a Multi-Vendor Environment

Many MTR rooms are "modular," meaning you might have a Dell compute unit, a Logitech camera, and a Crestron touch panel. When logs are collected, the MTR system tries to aggregate logs from these peripherals. However, some manufacturers require their own proprietary software to pull logs from their specific hardware.

Peripheral-Specific Tools

  • Logitech: Use Logitech Sync to pull logs from the Rally camera or Tap controller.
  • Poly: Use Poly Lens to pull logs from Studio X or GC8 controllers.
  • Crestron: Use the Crestron XiO Cloud to monitor and extract logs from their hardware.

If you are dealing with a complex issue, you should collect the MTR logs and the peripheral-specific logs. When you open a support ticket, provide both. This prevents the "blame game" where the Teams support team says it is a hardware issue and the hardware vendor says it is a software issue. By providing all logs at once, you force a collaborative resolution.


Not read yet

Keeping Your Environment Healthy

Troubleshooting is only half the battle. A truly expert administrator builds an environment that is self-healing or at least self-reporting.

Automated Housekeeping

You can use Group Policy or Intune to run a cleanup script on your MTR devices once a week. This script can clear out old log files, temp folders, and cache files to ensure the system doesn't run out of disk space.

# Example Cleanup Script
$LogPath = "C:\Users\Skype\AppData\Local\Packages\Microsoft.SkypeRoomSystem_8wekyb3d8bbwe\LocalState\Logs"
$DaysToKeep = 7

# Delete logs older than 7 days
Get-ChildItem -Path $LogPath -Recurse | Where-Object { $_.LastWriteTime -lt (Get-Date).AddDays(-$DaysToKeep) } | Remove-Item -Force

Firmware Management

Set a schedule for firmware updates. Do not just "auto-update" everything. Test firmware on one or two "pilot" rooms first. If the firmware is stable for a week, push it to the rest of the fleet. This prevents a bad firmware release from taking down every meeting room in your organization simultaneously.


Not read yet

Common Questions (FAQ)

Q: How do I know if the log collection was successful? A: The CollectLogs.ps1 script will output a success message in the PowerShell window and confirm the file path where the ZIP was created. If you use the UI, a notification will appear on the touch console indicating the logs were saved to the specified path.

Q: Can I send these logs to Microsoft Support? A: Yes. If you have an active support contract, you can upload these logs to your support case. They are the standard format required by Microsoft engineers to investigate issues.

Q: Are these logs secure? A: They contain diagnostic information, which may include usernames or meeting titles. Treat these logs as sensitive data. Do not upload them to public forums or share them via unencrypted email.

Q: What if the MTR system is completely frozen? A: If the system is frozen, you may need to perform a hard reboot. After the reboot, immediately run the log collection. If the system is so frozen that it won't even boot, you are likely looking at a hardware failure (motherboard, RAM, or SSD) rather than a software log issue.


Not read yet

Key Takeaways

  1. Act Fast: Logs are ephemeral. Collect them as soon as an issue occurs to ensure the relevant data is captured before it is overwritten.
  2. Use the Right Tool: Start with the MTR built-in UI for quick collection, and move to PowerShell for remote or bulk operations.
  3. Correlate Data: Don't just look at the Teams logs. Use timestamps to correlate events with Windows System logs and hardware-specific peripheral logs.
  4. Standardize: Use a consistent naming convention for your log files to make organization and retrieval easier for your team.
  5. Think Beyond Software: Remember that MTR is a combination of Windows, Teams, and physical hardware. Always check physical connections and peripheral firmware before assuming a software defect.
  6. Baseline Your Health: Keep "known good" logs to serve as a comparison when troubleshooting problematic rooms.
  7. Proactive Maintenance: Use automated scripts to clear old logs and keep the system clean, preventing disk space issues from causing future failures.

By following these procedures, you shift from being a reactive firefighter to a proactive systems administrator. Troubleshooting Teams Rooms is not about knowing every possible error code, but about knowing how to extract and interpret the evidence left behind by the system. With these skills, you can ensure your meeting spaces remain reliable, productive, and well-maintained.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.