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
Interop Teams to Skpe for Business Online
CarlosMoralesMX in Microsoft Teams on
2 Replies
Making shifts not visible to all team members
rfloo in Microsoft Teams on
3 Replies
Alternate to confluence
seetharaman_k in Microsoft Teams on
0 Replies
Group calendars appeared automatically
BobaFett in Outlook on
3 Replies
How to add APP to Web Part List Modern UI
apirez in SharePoint on
0 Replies