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
Tabs and Dark Mode
cjc2112 in Discussions on
50 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
32 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
15 Replies
Dev channel update to 80.0.355.1 is live
josh_bodner in Discussions on
67 Replies