If you are losing your connection during screen sharing.

Or Microsoft Teams Client crashes and restarts automatically.

You will need to view the Microsoft Teams debug logs to troubleshoot the issues. Or if you are the End User, this is how to get the logs to send to your Support Engineers to troubleshoot..

Open Microsoft Teams, and on your keyboard, select Ctrl+Alt+Shift+1

You will see these files in your downloads folder;

In another post, I will walk you through each log file and how to read it .. Stay tuned.