How to allow ICMP / Ping with Microsoft Defender Firewall on Intune

In this post i will run through the steps that are required to allow ICMP / Ping with intune.

This rule will apply to the windows firewall through intune.

  1. Navigate to and go to Intune > Device Configuration > Profiles and click on “Create Profile”.
  2. Enter a Name for the profile and for the platform select “Windows 10 and later
  3. For the Profile type select Endpoint protection
  4. Click on Settings
  5. Click on “Microsoft Defender Firewall”
  6. Scroll down until you see “Firewall Rules” then click on “Add”

Here is how we want to configure our rule.

Click “OK” a few times and save the profile.

Assign the profile to your target group / users / devices and wait for the sync to complete.

Once the sync has completed we can verify the changes have taken place with windows firewall.

Open “Windows defender firewall with advanced security” and go to monitoring > firewall. Here we can see the rule that we created in Intune.

4 Replies to “How to allow ICMP / Ping with Microsoft Defender Firewall on Intune”

  1. Thank you for this guide but as far as I know these settings are not reflected/shown in the Windows Defender Firewall GUI.

    1. Hey Bartev,

      Once the settings show up with a successful status on Intune. Perform a sync on the computer, either through intune or via the computer itself.
      The firewall setting should then show under Monitoring > Firewall as per the last image in the post.

      1. Hi,
        tried it several times with different settings but i get a failure every time i sync the policy. I sued custom protocol or UDP directly, tried allow and block. Every time deployment failure and no rule in the local defender rule set. Do you have any hint? Is there a setting necessary to allow the deployment of rules?

Leave a Reply

Your email address will not be published. Required fields are marked *