Optimal WIndows 10 firewall setting for Teams desktop app?

Calum Steen
Occasional Contributor

I've 95% sure that, at least in our environment, the Teams desktop app isn't setting Windows 10 firewall rules optimally, probably due to locking down the build.


When staff start video in Teams desktop, they see a one-off message that WIndows 10 firewall has blocked certain features of the application. I'm assuming this is Teams trying to use UDP on high ports for it's preferred protocol(s).


What are the Windows 10 firewall rules needed to optimist performance of the Teams desktop app?


NB I've already followed MSFT guidance on optimizing the network on boundary firewalls etc.

3 Replies
Hi Calum,

Here is the URL's and IP address ranges for Teams

Hope that helps. Let me know how you get on.

Best, Chris



That is described in this article.
When users initiate a call using the Microsoft Teams client for the first time, they might notice a warning with the Windows firewall settings that asks for users to allow communication. Users might be instructed to ignore this message because the call will work, even when the warning is dismissed.  Windows Firewall configuration will be altered even when the prompt is dismissed by selecting “Cancel”. Two inbound rules for teams.exe will be created with Block action for both TCP and UDP protocols.


You should be able add these block rules with an Group Policy that you deploy to your client computers.


There is also a Uservoice request to remove this warning, go in and vote for it to get some attention from Microsoft.


Thanks for this. I've just posted on uservoice that it would be really neat if Teams didn't do whatever it's doing to trigger the firewall prompt ( is the user doesn't have admin rights. I assume one can test if a UAC prompt would be triggered without actually triggering it?
Related Conversations
Add App pinning to Windows 10
HotCakeX in Windows Insider Program on
0 Replies
Edge Stuck on Setting Up Sync
Jason101 in Discussions on
3 Replies
Teams error code - 6
damnit95 in Office 365 on
4 Replies
Sharing a Teams Calendar
Michael Krueger in Microsoft Teams on
16 Replies