How do I create firewall rules for the New Teams in Intune?

 One of my customers is rolling out the new Teams client and needs to create firewall rules for it with Intune.  To do this, open Endpoint Security and create a new Windows Firewall Rules policy for Windows 10, 11, or Server 2022.  Set the rule name and add the new rule.  The important bit is to not set the file path to the executable because that will change as each version of the client is upgraded, and instead set the Package Family Name to MSTeams_8wekyb3d8bbwe .  You'll need an inbound allow rule for this package family name for both protocol 6 (TCP) and 17 (UDP).



Where did I find this magic incantation?  It's from get-AppxPackage MsTeams and uniquely identifies the new Teams application regardless of version number.


HTH

Comments