Intune: Firewall Rules Policies

Raul Guchinife 120 Reputation points
2024-01-02T10:45:54.2133333+00:00

Hello

I want to apply an Intune Firewall policy so that only certain applications connect to the internet and the rest are blocked.

To secure the connection of these computers to Intune, what application/ports do I need to add to the firewall rules so that the computers do not lose connection to Intune and Windows udpate?

Microsoft Intune Security
Microsoft Intune Security
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
417 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,893 questions
Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,360 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,053 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ZhoumingDuan-MSFT 13,085 Reputation points Microsoft Vendor
    2024-01-03T03:12:26.4666667+00:00

    @Raul Guchinife,Thanks for posting in Q&A.

    From your description, I know that you want to allow certain applications connect to the internet and the rest are blocked via Firewall Rule and ensure the connection of computers to Intune and Windows update.

    Based on my researching, we can create a firewall rule policy follow the steps below to achieve this.

    1.Sign into Intune portal > Click Devices > Click Configuration Profiles.

    2.Create a profile for Windows 10 and later as platform type > Under Profile Type, select Templates and then Endpoint Protection and click on Create > In the Configuration settings section, select Windows Firewall > Expand the dropdown and then select Add to specify apps and rules for incoming connections for the app.

    3.In Applications settings, select Package family name and enter the Package family name.

    4.In Port and protocol settings, select TCP under Protocol, and enter 80 and 443 under Local ports and Remote ports.

    5.In Assignment page, assign it to user or device group and click Create.

    User's image

    You can get the Package family name via PowerShell command 'Get-AppxPackage -AllUsers'.

    Computers connect with Intune via TCP port 80 and 443.

    Computers use TCP port 80 and 443 to communicate with the Windows Update service.

    Here is some detailed information about Firewall Rules in the below link you can refer.

    https://video2.skills-academy.com/en-us/mem/intune/protect/endpoint-security-firewall-profile-settings#windows-firewall-rules

    Hope above information can help you. If there is any update, feel free to let me know.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.