Configure logging for troubleshooting Microsoft Teams

To collect logs for Mac:

Select the Help menu in Microsoft Teams and then select Collect support files.

Configure Developer Menu for Teams
Open Teams and click 5 times while in Dock to open Desktop Teams menu

Teams Updates History
https://learn.microsoft.com/en-us/officeupdates/teams-app-versioning

Link:
https://learn.microsoft.com/en-us/microsoftteams/log-files

https://techcommunity.microsoft.com/t5/microsoft-teams/microsoft-teams-not-working-on-macos/m-p/2163459

Link to Office reset:
https://office-reset.com/
Office-Reset is a free downloadable tool that you can use to fix problems and errors encountered with Microsoft Office for Mac apps. This includes Word, Excel, PowerPoint, Outlook, OneNote, OneDrive, Teams and AutoUpdate. The tool can help fix app launch errors, freezes, hangs, crashes, bad plug-ins, corrupt templates, performance issues, and confusing error messages.

You can tell Office-Reset to fix a specific app, or you tell it to perform a ‘factory reset’ – essentially putting Office back to the same pristine state as when you first installed it. There’s also an option to completely start over, where the tool can remove every app, cache, container, preference and keychain entry that Office may have created while it was running.

Office-Reset does not delete your documents and workbooks. The tool doesn’t have ads, an upsell, collect your data, or install software that you don’t want. It simply runs, fixes, and quits.

Check System Logs: macOS logs system events which can be viewed using the Console.app or through the Terminal. While Console.app provides a more user-friendly interface, you can use the following command in Terminal to filter relevant logs for Microsoft Teams:
log show --predicate '(process == "Teams") || (process == "Microsoft Teams")' --info --last 1h

Check for Crash Reports: macOS generates crash reports that can provide insights into why an application might be unexpectedly closing. You can find these reports in Terminal with:
ls ~/Library/Logs/DiagnosticReports/ | grep 'Teams'

If you find any reports, you can view them with the cat or less command, for example:
cat ~/Library/Logs/DiagnosticReports/Teams_*.crash

Save Logs: Use the > operator to save the output to a file. For example:
log stream | grep "Microsoft Teams" > ~/Desktop/TeamsLogs.txt

Collect Logs from a Period: For example, to collect logs from the last hour:
log show --predicate 'eventMessage contains "Microsoft Teams"' --info --last 1h > ~/Desktop/TeamsLogsLastHour.txt

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *