Why you Shouldn’t bypass MFA for your office IP adresses

It is quite common for organisations to add their office IP addresses to a trusted locations list and bypass Multi-Factor Authentication (MFA) for anyone working on-site. Especially so in high-turnover environments where IT do not have much control over most users, like in education. The logic might make sense at first glance because you naturally trust your physical office building. However, this creates a massive security gap, once that shouldn’t be accepted.

Interestingly, one major issue involves guest networks. Many offices use a single public IP address for all outbound traffic through Source Network Address Translation (SNAT). This means your secure corporate network and your completely open guest Wi-Fi often share the exact same external IP address. If a malicious visitor or an attacker connects to your guest network, they appear to Entra ID as if they are coming from a trusted location.

But regardless whether a threat actor uses the guest network, a compromised device, or a hijacked VPN session, they instantly inherit that trusted IP address. Suddenly, they can access your cloud resources and sensitive data without ever being challenged for a second factor. You are essentially reverting your modern cloud security perimeter back into legacy mode, which doesn’t hold up against security threats today.

Why this is misunderstood

The primary reason IT teams implement these IP bypasses is because they fear user friction, or maybe they have had one two many reports of MFA prompts in the past. They assume that requiring MFA everywhere means users will be hammered with authentication prompts all day long. This is a huge misunderstanding of how modern Windows authentication works.

Thanks to the Primary Refresh Token (PRT), the MFA experience on Windows devices is not a burden at all. When a user authenticates, Entra ID issues a PRT that acts as an ongoing broker for Single Sign-On (SSO). This token securely carries MFA claims with it, so the user does not need to repeatedly prove who they are. This goes for each device registration scenario:

  • Entra Joined devices: The PRT is issued natively at Windows logon. Logging into the device itself with Windows Hello for Business can satisfy the MFA requirement entirely.

  • Hybrid Entra Joined devices: The PRT is issued when the user logs in and the device successfully communicates with a domain controller and Entra ID, providing smooth access to cloud apps.

  • AD Joined (Entra Registered) devices: Even on a standard domain joined machine, adding the user’s work account to Windows generates a PRT. This ensures a seamless SSO experience across Microsoft 365 applications.

The result is that your users remain highly secure without suffering from prompt fatigue.

What you should do instead

Instead of relying on physical locations for security, you need to shift to a zero trust mindset. First, audit your existing Conditional Access policies and completely remove any network exclusions that outright bypass MFA. You should require MFA for all users across all locations. Unfortunately, you cannot filter for CA policies with network exclusions in the Entra UX, but you can with Microsoft Graph PowerShell:

$base = "/v1.0/identity/conditionalAccess/policies?"
$filter = '`$filter=conditions/locations/excludeLocations/any()'
$uri = $base + $filter
$Policies = Invoke-MgGraphRequest -uri $uri -OutputType PSObject | Select -Expand Value
$Policies | FT

View each policy and determine if this is a legacy configuration which can be immediately remediated, or whether the scenario requires more thought.

Next, start using your office IP addresses intelligently. Rather than using Named Locations to bypass security controls, use them to evaluate risk. Entra ID Protection uses trusted networks to calculate sign-in risk. Logging in from the office can safely lower a user’s risk score without turning off MFA entirely. To do this, select Named locations from the Conditional Access blade, then click the IP ranges location, add your office IP and mark it as trusted.

mark office ip as a trusted location
mark office ip as a trusted location

Finally, shift your trust from the network to the device. Update your Conditional Access policies to require a compliant device or a Hybrid Entra Joined device. This ensures that only trusted, managed devices can access your data regardless of where they are connected.

Summary

Bypassing MFA for your office IP address might feel like a quick win for user experience, but it leaves your organisation incredibly vulnerable to network level breaches and networks exploits, it is a disaster waiting to happen. Modern (Microsoft proprietary) authentication features like the Primary Refresh Token ensure that your users stay secure without dealing with constant interruptions. By auditing your policies, enforcing MFA universally, and relying on device compliance and risk signals instead of static IP addresses, you can a more secure frictionless security posture.

Daniel Bradley

Daniel Bradley is a UK-based technical architect and Microsoft MVP in Security. He specialises in Microsoft Entra, Intune, and Microsoft Graph PowerShell and is the author of Microsoft Graph PowerShell for Administrators. He writes and edits Our Cloud Network using experience gained from working with Microsoft cloud environments.

Leave a Reply