We value your privacy

We use cookies to analyze site traffic and improve your experience. You can accept all cookies or reject non-essential ones. See our Privacy Policy for details.

GR IT SERVICES
  • Contact
Get a quote
  1. Microsoft Intune
  2. Firewall policy
Intune firewall policy

Two rules disagree about Teams, one blocking and one allowing, and Intune sends both anyway.

That example comes from the vendor documentation, not from us. Rules profiles do not follow the conflict resolution model the rest of Intune uses. Nothing is arbitrated in the service. Both rules go out, and whatever happens next happens on the endpoint.

Book a firewall policy reviewSee how rules behave
Intune endpoint security firewall policy for US organizations
  • 150 rulesPer firewall rules profile instance
  • Rules mergeAcross profiles, so you can exceed 150
  • Both deliveredWhen two rules conflict, not resolved
  • All or nothingAtomic block behavior on current Windows
The behavior to understand first

An invalid rule on an older Windows build can leave the machine holding half a firewall configuration.

Few documented firewall behaviors matter as much as the move to atomic application, and it cuts your estate cleanly along build lines.

  • Windows 11 21H2, Windows 11 22H2 and Windows 10 21H2 brought a revised CSP behavior that treats each atomic block as indivisible. The block lands in full or it does not land at all.
  • Older versions work through the block rule by rule. Hit a problem on any one of them and the CSP abandons everything that was still queued behind it, while leaving every rule that had already succeeded exactly where it is.
  • The result on the machine is a rule set with holes in it, some rules present and some missing, and no indication anywhere in the console of which is which. Diagnosing it is genuinely hard, because from the service side the policy looks perfectly well assigned.
  • Where builds are mixed, that means testing every firewall rule profile on a physical device drawn from each build family rather than on one modern machine, and doing it before anybody treats the resulting configuration as trustworthy.
What firewall policy does

Eight behaviors that determine what your devices actually enforce.

Two families of profile handle host firewall policy in Intune, and they behave neither like each other nor like anything else in the product. Grasping the distinction is the difference between a rule set that works and one that quietly applies half of itself.

Firewall settings without the surrounding template

You will find the same settings inside endpoint protection profiles under device configuration, bundled together with a range of categories that have nothing to do with firewalls. Going through the dedicated firewall policy instead narrows what you are looking at to what you are actually managing, and it works the same way for Windows and macOS.

Two profile families, two behaviors

The Windows Firewall profile configures the firewall as a whole, giving you host-based filtering in both directions. The Windows Firewall rules profile is where the detail lives: individual rules covering ports, protocols, applications and networks. One helpful guarantee from the documentation is that the two never conflict with each other.

Conflicting rules are both delivered

Two rules that address the same thing in incompatible ways are both delivered, and the disagreement is resolved on the endpoint rather than in the service. The documented illustration is one rule blocking Teams while another allows it, and the documentation is careful to flag that this is not how conflicts behave elsewhere in firewall policy.

Non-conflicting rules merge, usefully

Non-conflicting rules coming from several rules profiles are merged on the device into one combined configuration. That merge behavior is the sanctioned route past the 150 custom rule ceiling on any single profile: break a large rule set into multiple profiles and let the device assemble it.

Atomic blocks and partial deployment

On Windows 11 21H2, Windows 11 22H2 and Windows 10 21H2 and later, the firewall CSP treats each atomic block of rules as all or nothing. Anything older behaves differently and worse: rules are processed one after another, processing halts at the first error, and nothing already written gets rolled back. What you are left with is a machine holding part of a rule set.

Reusable settings groups, and one gap

Reusable settings groups are in public preview for Windows firewall rule profiles, covering remote IP address ranges and fully qualified domain name definitions with automatic resolution. Before you design a rule set around them, note the gap: inbound FQDN rules have no native support.

Three errors with documented causes

Most errors resolve to one of three causes. Port range complaints normally mean the range is not ascending, falls outside 0 to 65535, or has no protocol set to TCP or UDP alongside it. A name parameter error nearly always means edge traversal was enabled on a rule with no inbound direction. And an interface type error means All has been picked at the same time as specific types.

Reporting that finds the devices with it off

Three views come with it: a summary carrying a single count of devices running with the firewall off, a detail report naming each of those devices sourced from the DeviceStatus CSP, and an organizational status report that separates enabled, disabled, limited, temporarily disabled and not applicable rather than lumping them together.

The behavior that is unique to firewall rules

Conflicting firewall rules are not arbitrated by Intune. Both of them go out.

The documentation singles this out as behaving unlike every other firewall policy conflict, and that difference reshapes how a rule set has to be governed.

  • Where two rules cover the same thing with different settings, both reach the device and the conflict surfaces there. The example on record has one rule blocking Teams at the firewall and another permitting it, with the client receiving each of them.
  • Windows Firewall profiles handle the same situation in the opposite way, and the documentation says so directly. If two policy instances or two policy types set the same value differently, that setting is withheld from the device entirely. Same product, two families, two opposite outcomes.
  • There is a genuine benefit hiding in the same behavior. Rules spread across several profiles that do not contradict each other get merged on the device into one configuration, and that merge is the documented mechanism for going beyond the 150 custom rules any single profile will hold.
  • Which means what you need to govern is an inventory of rules, not an inventory of policies. Since rules merge across profiles and conflicts are settled on the endpoint rather than in the service, the only dependable picture of what a machine enforces is one you build by hand.
Ask us to assemble your effective rule set
How we approach it

Four things that make a host firewall rule set trustworthy.

The way firewall rules behave here rewards a deliberate structure and punishes the alternative. Nearly every problem we are called into traces back to the same origin: rules added one at a time across several years, with nobody ever looking at the whole.

We assemble the merged rule set

Because rules coming from several profiles combine on the device into one configuration, you can carry more than the 150 rules a single profile allows. The same mechanism has a cost: no individual profile represents what the device enforces, so the effective set has to be built rather than looked up.

We find contradictory rules before devices do

Two rules covering the same thing with different settings are both delivered, and the disagreement plays out on the endpoint. Blocking and allowing Teams is the documented illustration. Catching those centrally, before delivery, is the only route to enforcement you can predict.

We check the three errors with known causes

A port range error means one of three things: the range does not ascend, it strays outside 0 to 65535, or no TCP or UDP protocol was set alongside it. A name error means edge traversal was enabled on a rule with no inbound direction. An interface error means All was selected together with specific types.

We check for the partial deployment case

Any Windows version predating the atomic block change works through rules sequentially, gives up when one fails, and leaves everything already written in place. The machine ends up partly configured, and neither the console nor the device itself gives you an obvious signal that this happened.

How a review runs

Four phases across roughly four weeks.

What you are paying for is the effective rule set. With rules merging across profiles and conflicts resolved on the endpoint, no screen in the console will tell you what a given machine is enforcing.
  1. 01
    Week 1

    Assemble the effective rule set

    We take every firewall rules profile assigned to a device group and assemble the merged set the device genuinely receives. Conflicting rules get called out by name, because those are not resolved anywhere upstream. They arrive at the endpoint and the endpoint is left to work them out.

    • Merged rule set assembled per device group
    • Conflicting rules identified explicitly
    • Rule count checked against the 150 per profile limit
    • Windows Firewall profile conflicts identified separately
  2. 02
    Week 2

    Check for partial deployment risk

    Every Windows version in the estate is checked against the atomic block behavior. Anything older applies rules sequentially, halts at the first error and rolls nothing back, which is how you end up with a half-applied rule set. Devices below Windows 10 21H2 or Windows 11 21H2 sit in that category.

    • Windows version coverage established
    • Devices at risk of partial rule deployment identified
    • Rule errors in event logs reviewed
    • Documented error causes checked against failing rules
  3. 03
    Week 3

    Fix the rules that were never going to apply

    We validate each port range for ascending order, for staying inside 0 to 65535, and for having TCP or UDP set wherever a range appears. Anything with edge traversal enabled is checked for an inbound direction. And every interface type rule is checked in case All has been selected next to specific types.

    • Port range rules corrected against the three causes
    • Edge traversal rules given inbound direction
    • Interface type selections corrected
    • Rules validated on a test device before wider assignment
  4. 04
    Week 4

    Restructure and verify

    Rules get divided across profiles as a design decision so the merge works in your favor instead of by chance, reusable settings groups are evaluated for remote IP ranges, and the reporting is used to prove that nothing in the estate is running with its firewall switched off.

    • Rule set restructured across profiles by purpose
    • Reusable settings groups evaluated
    • Devices with firewall off identified and remediated
    • Ongoing rule review cadence agreed
Where this matters

Six situations where host firewall policy needs attention.

The shape is always the same. A rule set assembled request by request, and nobody anywhere holding a picture of what the combined result actually lets through.

An organization whose firewall rules have accumulated

Every rule went in to unblock one application, they are spread across several profiles, and they merge on the device. Since no single profile reflects the merged result, nobody in the organization can state what is currently permitted. That is an uncomfortable answer to give in a review.

A business with unpredictable application behavior

When an application runs on some machines and not others, contradictory rules arriving together is a leading suspect, because both get delivered and the device is left to reconcile them. It behaves unlike other policy conflicts, and nothing in the console makes it apparent.

A company that has hit the 150 rule ceiling

A single firewall rules profile instance tops out at 150 custom rules. The documented route past that is to split the set across profiles, relying on non-conflicting rules merging into one configuration on the device. Treat that as an intentional part of the design, not a workaround.

An operator running older Windows on site machines

Anything running below Windows 10 21H2 or Windows 11 21H2 falls under the older behavior, applying rules one after another and stopping on error with nothing rolled back. Machines out at sites and in plants tend to be both the oldest hardware in the estate and the least likely to be checked.

A regulated firm asked to evidence host firewall state

Five states appear in the organizational status report rather than two: enabled, disabled, limited where the firewall is not watching every network or some rules are off, temporarily disabled, and not applicable. Handing a SOC 2 auditor, a HIPAA assessment or an insurance questionnaire that level of detail is a materially better answer than a headline count of on versus off.

A team managing rules for many remote IP ranges

Currently in public preview, reusable settings groups handle remote IP address ranges and fully qualified domain name definitions with automatic resolution. A range set then lives in one place instead of being copied into every rule that needs it. Design around one constraint: inbound FQDN rules have no native support.

Three positions

How US organizations manage the host firewall.

That right hand column turns up far more often than anyone would like, which is precisely why the reporting exists. It gives you one number: how many devices are running with the firewall off.
Effective rule set known
Firewall policy, rule set governedYes
Rules added over timeNo
Firewall off or defaultNot applicable
Conflicting rules identified
Firewall policy, rule set governedYes
Rules added over timeLanded on devices
Firewall off or defaultNot applicable
Rule count managed against the limit
Firewall policy, rule set governedYes
Rules added over timeUnknown
Firewall off or defaultNot applicable
Partial deployment risk assessed
Firewall policy, rule set governedYes
Rules added over timeNo
Firewall off or defaultNot applicable
Failing rules corrected
Firewall policy, rule set governedYes
Rules added over timeUnnoticed
Firewall off or defaultNot applicable
macOS firewall configured
Firewall policy, rule set governedYes
Rules added over timeSometimes
Firewall off or defaultNo
Devices with firewall off found
Firewall policy, rule set governedReported
Rules added over timeOccasionally
Firewall off or defaultNot looked for
Hyper-V container rules considered
Firewall policy, rule set governedYes
Rules added over timeNo
Firewall off or defaultNo
Reusable settings groups used
Firewall policy, rule set governedWhere useful
Rules added over timeNo
Firewall off or defaultNo
Auditable
Firewall policy, rule set governedYes
Rules added over timeDifficult
Firewall off or defaultNo
Feature
Firewall policy, rule set governed
Rules added over time
Firewall off or default
Effective rule set known
YesNoNot applicable
Conflicting rules identified
YesLanded on devicesNot applicable
Rule count managed against the limit
YesUnknownNot applicable
Partial deployment risk assessed
YesNoNot applicable
Failing rules corrected
YesUnnoticedNot applicable
macOS firewall configured
YesSometimesNo
Devices with firewall off found
ReportedOccasionallyNot looked for
Hyper-V container rules considered
YesNoNo
Reusable settings groups used
Where usefulNoNo
Auditable
YesDifficultNo
How the two families behave

Windows Firewall profiles against Windows Firewall rules profiles.

People routinely treat the two as interchangeable. They are not, and the gaps between them determine what a device actually enforces.

Behavior

What it configures

Windows Firewall profile
The firewall itself and its settings
Windows Firewall rules profile
Granular allow and block rules

Behavior

Conflict with the other family

Windows Firewall profile
Does not conflict with rules profiles
Windows Firewall rules profile
Does not conflict with firewall profiles

Behavior

Conflict within the family

Windows Firewall profile
Setting is not sent to the device
Windows Firewall rules profile
Both rules are sent, conflict lands on the device

Behavior

Multiple profiles on one device

Windows Firewall profile
Creates conflicts
Windows Firewall rules profile
Supported, and rules merge when they do not conflict

Behavior

Rule limit

Windows Firewall profile
Not applicable
Windows Firewall rules profile
150 custom rules per profile instance

Behavior

Exceeding the limit

Windows Firewall profile
Not applicable
Windows Firewall rules profile
Split across profiles, which merge on the device

Behavior

Reusable settings groups

Windows Firewall profile
Not applicable
Windows Firewall rules profile
Preview, for remote IP ranges and FQDN definitions

Behavior

Inbound FQDN rules

Windows Firewall profile
Not applicable
Windows Firewall rules profile
Not natively supported

Behavior

Hyper-V container rules

Windows Firewall profile
Separate profile
Windows Firewall rules profile
Separate profile, covering WSL and WSA

Behavior

macOS

Windows Firewall profile
A dedicated macOS firewall profile
Windows Firewall rules profile
Not applicable
BehaviorWindows Firewall profileWindows Firewall rules profile
What it configuresThe firewall itself and its settingsGranular allow and block rules
Conflict with the other familyDoes not conflict with rules profilesDoes not conflict with firewall profiles
Conflict within the familySetting is not sent to the deviceBoth rules are sent, conflict lands on the device
Multiple profiles on one deviceCreates conflictsSupported, and rules merge when they do not conflict
Rule limitNot applicable150 custom rules per profile instance
Exceeding the limitNot applicableSplit across profiles, which merge on the device
Reusable settings groupsNot applicablePreview, for remote IP ranges and FQDN definitions
Inbound FQDN rulesNot applicableNot natively supported
Hyper-V container rulesSeparate profileSeparate profile, covering WSL and WSA
macOSA dedicated macOS firewall profileNot applicable
How an engagement runs

Five steps, and the first produces the artifact nobody has.

Nowhere in the console can you see the merged rule set. Producing it yourself is what everything after this depends on.
  1. 1

    Assemble the effective merged rule set

    We take each rules profile assigned to a device group and combine them the way the device would. Non-conflicting rules from separate profiles fold into one configuration, which means the effective set is consistently wider than any single profile would lead you to believe.

  2. 2

    Identify rules that contradict each other

    Any two rules that configure the same thing differently both get delivered, and the endpoint inherits the disagreement. That is peculiar to rules profiles. Windows Firewall profile conflicts go the other way, with the setting withheld from the device entirely.

  3. 3

    Find the rules that were never going to apply

    The documentation names three: a port range that does not ascend, strays beyond 0 to 65535, or carries no TCP or UDP protocol setting; edge traversal switched on with no inbound direction; and the All interface type chosen at the same time as specific ones.

  4. 4

    Assess partial deployment exposure

    We check every Windows version against the atomic block change, because everything older processes rules sequentially, halts at the first failure and rolls back nothing. Devices in that bracket may already be running a partly applied rule set that nobody has spotted.

  5. 5

    Restructure, then verify with the reports

    Profiles are divided by purpose so the merge is something you designed rather than something that happened, reusable settings groups take over wherever the same range set repeats, and the status reports are used to prove nothing in the estate is sitting with its firewall off or in a limited state.

Straight answers

What organizations ask about Intune firewall policy.

Neither wins upstream, because both are delivered. The documented behavior is that rules covering the same thing with different configurations are all sent to the device, where the conflict then exists. The illustration used is one rule blocking Teams and another permitting it. No central arbitration takes place.

They do not, and the gap between the two behaviors is worth holding onto. Under the Windows Firewall profile, a conflict between two policy instances or two policy types over the same setting means the setting never reaches the device. Same product, opposite outcomes.

The ceiling is 150 custom rules for any one instance of the Windows Firewall rules profile. Beyond that, the documented approach is to rely on the merge: non-conflicting rules coming from several profiles are combined by the device into one configuration.

They do not, and this is stated plainly in the documentation. The two profile types configure different things, so a device can hold both without either interfering with the other.

The usual explanation is the atomic block behavior on an older build. Windows 11 21H2, Windows 11 22H2 and Windows 10 21H2 onward, each block lands in full or not at all. Below those versions the CSP works rule by rule, gives up at the first error, and leaves everything already applied in place.

There are three, all documented. The range has to ascend, meaning 1 to 5 and never 5 to 1. It has to sit inside 0 to 65535. And where a rule configures either a remote or a local port range, protocol has to be set alongside it, 6 for TCP or 17 for UDP.

Edge traversal is nearly always behind it. The requirement is that any rule with edge traversal enabled must have its direction set to inbound traffic. Leave that out and you get the error later rather than a warning while you are writing the rule.

Because All has been ticked next to specific interface types. The rule is that enabling All means every other interface type must be left unselected. The user interface makes it look like an additive choice. It is not.

In part. Reusable settings groups, currently in public preview, do support fully qualified domain name definitions with automatic resolution on Windows firewall rule profiles. What you cannot do natively is write inbound FQDN rules, although the documentation points to pre-hydration scripts as a way of generating inbound IP entries for a rule.

It is, via a macOS firewall profile of its own that switches on and configures the built-in firewall on every supported macOS release. Being a separate profile from the Windows ones, it tends to get forgotten by teams whose attention started on the Windows fleet.

A dedicated profile exists. Windows Hyper-V Firewall Rules governs rules for Hyper-V containers on Windows, and that includes Windows Subsystem for Linux and Windows Subsystem for Android. Leave it unconfigured in an estate full of developer machines and you have a real hole.

You get a headline count in the summary view, and behind it a dedicated report naming every device with the firewall off. That report draws on the DeviceStatus CSP and carries device name, firewall status, user principal name, management target and the last check in time.

It means either the firewall is not watching every network, or some of its rules are switched off. Limited is one of five values the organizational report uses, sitting alongside enabled, disabled, temporarily disabled, and not applicable for devices that cannot report firewall state at all.

The same firewall settings are available there, wrapped in device configuration profiles that also carry a range of unrelated setting categories, which makes configuring the firewall alone harder than it needs to be. Running both routes at once also opens up the conflict case in which a setting never reaches the device.

Each engagement is scoped on its own terms, driven by how many rules exist and how many profiles carry them. Here is a first step that costs nothing: count the firewall rules profiles assigned to a single device group, then sit down and write out the combined rule set. If that turns out to be difficult, you have just proved the case for doing this properly.
Rule review

Fifteen questions about your own firewall rules.

Group three collects three errors whose causes are already documented, and between them they explain the majority of rules that quietly fail to apply.

Structure

  • How many rules profiles are assigned?
    They merge on the device.
  • Is any profile near 150 rules?
    That is the per profile limit.
  • Do any rules contradict each other?
    Both get delivered.
  • Do we also use endpoint protection profiles?
    They configure the same settings.
  • Are macOS devices covered?
    There is a dedicated profile.

Deployment

  • Are devices on Windows 10 21H2 or later?
    Atomic block behavior changed there.
  • Could any device be partially configured?
    Earlier versions do not roll back.
  • Have we checked event logs for rule errors?
    Causes are documented.
  • Do we use Hyper-V firewall rules?
    For WSL and WSA containers.
  • Do we use the Policy App Id setting?
    It requires application control tagging.

Common errors

  • Are port ranges ascending?
    1 to 5, not 5 to 1.
  • Are they within 0 to 65535?
    A stated bound.
  • Is protocol set where ranges are used?
    TCP or UDP is required.
  • Do edge traversal rules apply inbound?
    Required if enabled.
  • Is All selected alongside other interface types?
    It must not be.
Related reading

The pages around this one.

Intune antivirus policy

The neighboring endpoint security policy family.

Learn more

Intune security baselines

The wider hardening configuration these sit inside.

Learn more

Endpoint security

The full endpoint protection practice around the host firewall.

Learn more
Next step

Take one device group, count the firewall rules profiles on it, and try writing out what they add up to.

Since profiles merge on the endpoint, no one profile tells you what is being enforced. Struggling to assemble that list is itself the finding, and it explains why contradictory rules sit undetected for years.

Book a firewall policy reviewSee Microsoft Intune services

Related Services

Explore more solutions that work great with this service

Intune Endpoint Security Antivirus Policy

Intune antivirus policy consolidation for US organizations: every

Learn more

Intune Security Baselines

Security baseline design and management for US organizations: stating

Learn more

Attack Surface Reduction Rules Deployment

Attack surface reduction rules deployment for US organizations:

Learn more

Microsoft Defender for Endpoint Services

EDR plan selection, onboarding and zero-gap AV migration

Learn more

Endpoint Security

Endpoint security for US businesses using Microsoft Defender for

Learn more

Microsoft Intune

Device management and endpoint security

Learn more
GR IT SERVICES

IT services for US businesses,
delivering enterprise-grade solutions
remotely, coast to coast.

Microsoft CSP PartnerApple Jamf PartnerCISGuard

Microsoft 365

  • Microsoft 365 Administration
  • M365 Reporting & Auditing
  • Microsoft 365 Licensing
  • Microsoft Copilot
  • Microsoft 365 Apps
  • Windows 365 Cloud PC
  • Microsoft SharePoint
  • Outlook & Exchange

Security

  • Microsoft Defender
  • Microsoft Purview
  • Microsoft Intune
  • Microsoft Entra
  • Compliance Manager
  • Cybersecurity Audits
  • Copilot for Security
  • Microsoft Sentinel
  • Microsoft Priva

Infrastructure

  • Google Workspace
  • Cloud Migration Services
  • Data Analytics & BI
  • Active Directory
  • Server Management
  • Apple Business
  • Apple Jamf Pro
  • IP Telephone
  • Data Backup
  • Website Development

IT Services

  • Managed IT Services
  • IT Support USA
  • IT AMC USA
  • New Office IT Setup
  • IT Relocation
  • Remote IT Support
  • On-Call IT Support
  • Startup IT Business Kit
  • Disaster Recovery & BC

Company

  • About Us
  • Careers
  • Contact
  • Blog

Contact

  • hello@gritservices.io
  • gritservices.io

© 2026 GR IT Services. All rights reserved.

Privacy PolicyTerms of UseCookie PolicyCCPA/CPRA