Just a quick fyi for anyone using Intune to distribute firewall rules with the “Endpoint Protection > Windows Firewall” profile for the first time.
Any rules you set won’t be visible in the wf.msc GUI or using PowerShell’s Get-NetFirewallRule.

The only place you can see those rules is the registry under this key

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\Mdm\FirewallRules
  • LobsterScuttle
    arrow-up
    2
    arrow-down
    0
    ·
    4 months ago
    link
    fedilink

    Thanks for posting that, it was a major frustration of mine.

    FYI, I’ve been having success with Powershell running this: Get-NetFirewallRule -PolicyStore MDM

    I’m going to add that registry entry to my notes though because I am constantly checking this, very annoying that it isn’t seen in the GUI.