Microsoft Endpoint Manager Firewall rule not working

cn flag

I am trying to use Microsoft Endpoint Manager to block all traffic to Microsoft Edge for a group. I have done the following:

  • Created a group called Students and added user "Zephyr Prospect" (not a real person)
  • Created an endpoint protection firewall profile
  • added that profile to the students group
  • Added a Microsoft Defender Firewall configuration to the profile
  • Added a Firewall Rule to the configuration. In the rule I have the following:

Rule settings:

  • Direction: inbound
  • Action: Block
  • Network Type: 0 selected
  • Application: Package family name
  • Package Family name: Microsoft.MicrosoftEdge_8wekyb3d8bbwe (got this from Get-AppXPackage)
  • Local Address: any address
  • Remote address: any address
  • Protocol: any
  • Interface types: 0 selected

But the student in the group can still connect with Edge. I tried changing direction to Outbound as well.

How do I get this rule to work?

joeqwerty avatar
cv flag
Shouldn't your rule target the executable msedge.exe?
jimboweb avatar
cn flag
There are 2 ways to do it. You can use the file path. But I can't count on the file path being the same for every computer. But you are also supposed to be able to do the "package family name" which refers to that application, which you can get through Get-AppXPackage in powershell.
joeqwerty avatar
cv flag
Is there an option to target the Name (**Microsoft.MicrosoftEdge**) or PackageFullName (**Microsoft.MicrosoftEdge_44.19041.1266.0_neutral__8wekyb3d8bbwe**)?
jimboweb avatar
cn flag
No. The two options are Package Family Name and file path.
cn flag

The direction of the rule must be "Outbound" if you want to prevent Edge from connecting to something.

Application: Do not use Microsoft.MicrosoftEdge_8wekyb3d8bbwe because this refers to the old Edge browser, this browser is not supported anymore. You should use the latest Edge browser (chromium based), then, specify the File Path.

jimboweb avatar
cn flag
Thanks, I will try this on Monday; if it works I'll check it.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.