Microsoft Teams notifications without message preview in Python

Since a couple of months I’ve been using Microsoft Teams as my daily driver. This means that I’m fully migrated from Skype for Business to Microsoft Teams. One of the things I’m missing is notifications without the content of the message. (also called message preview) Especially when I’m presenting my screen during a meeting, I don’t want the meeting participants to read my Teams messages. Disabling notifications and relying on the taskbar icon didn’t work for me, as I’ve missed several messages per week. In this post, I’ll show you how I used Python to create a toast message when I get a new message from Teams. Continue reading “Microsoft Teams notifications without message preview in Python”