Agent Foskett Academy • Microsoft Entra • Module 3 • Lesson 37

Lesson 37 — Microsoft Entra Named Locations and Trusted Networks

Microsoft Entra Named Locations allow administrators to define familiar network ranges and geographic regions that Conditional Access can use as sign-in context.

A named or trusted location does not prove that the user, device or session is safe. It only tells Microsoft Entra where the request appears to originate. VPN gateways, shared offices, proxies, mobile carriers and cloud services can place many different identities behind the same public IP address.

This lesson explains IP-based and country-based Named Locations, trusted network design, VPN and remote-worker scenarios, location-based Conditional Access policies, lifecycle governance and the Zero Trust principle that network location is context—not identity assurance.

A trusted network is simply a recognised location signal. Zero Trust still validates the identity, device, application, risk and session.
Agent Foskett Microsoft Entra Named Locations and Trusted Networks lesson
What you will learn

This lesson explains how Named Locations support Conditional Access decisions and why recognised network context must never be mistaken for proof of trust.

Named Location types
VPN and remote access
Location-based policies
Zero Trust validation

Learning objectives

After completing this lesson, you should be able to configure, use and investigate Microsoft Entra Named Locations safely.

  • Explain the purpose of Named Locations.
  • Compare IP-based and country-based definitions.
  • Understand what marking a location as trusted changes.
  • Design location conditions in Conditional Access.
  • Assess VPN, proxy, IPv4 and IPv6 behaviour.
  • Investigate unexpected location matches.
  • Govern location changes and stale IP ranges.
  • Apply Zero Trust principles to network context.

The problem this solves

Organisations often need different access controls for corporate offices, approved VPN gateways, remote workers and sign-ins from selected countries or regions.

Named Locations provide reusable location definitions so those conditions can be applied consistently across Conditional Access policies.

Named Location evaluation flow

User or workload signs in ↓ Microsoft Entra observes the apparent public IP address ↓ Does the IP or country match a Named Location? ┌────────────┴────────────┐ ↓ ↓ Yes No ↓ ↓ Apply named context Treat as another location ↓ ↓ Is the location included or excluded by policy? ↓ Evaluate identity, resource, device, risk and client conditions ↓ Apply grant and session controls ↓ Record the Conditional Access decision

What are Named Locations?

Named Locations are reusable definitions of network or geographic context in Microsoft Entra.

They can represent public IP address ranges or selected countries and regions.

What they are not

Named Locations are not device identities, user authentication, network access control or proof that traffic is safe.

They provide one signal that Conditional Access can combine with other signals.

Named Location types

TypeHow it is definedTypical use
IP-based locationPublic IPv4 or IPv6 rangesCorporate offices, datacentres, VPN gateways and known egress points
Country or region locationSelected geographic countries or regionsCountry-based restrictions, monitoring or additional authentication
Trusted locationAn IP-based Named Location marked as trustedPolicies that distinguish familiar corporate network context
Unknown locationNo matching Named LocationRemote, mobile, new or unclassified access

IP-based Named Locations

IP-based locations use the public address observed by Microsoft Entra, not the device's internal private address.

Define stable egress ranges that represent known network boundaries.

Public egress matters

Thousands of internal devices may appear to Microsoft Entra through one NAT gateway, firewall or proxy address.

The Named Location therefore identifies the shared egress point rather than each device behind it.

Office network flow

Corporate device ↓ Internal network ↓ Firewall, proxy or NAT gateway ↓ Shared public IP address ↓ Microsoft Entra matches the Named Location ↓ Conditional Access evaluates all remaining signals ↓ Access is allowed, challenged or blocked

Country and region locations

Country-based locations use IP geolocation to estimate where a sign-in originates.

They can support broad geographic controls, but geolocation is not exact and may reflect a proxy, carrier or VPN endpoint rather than the user's physical position.

Geolocation limitations

Mobile networks, satellite services, privacy relays, corporate VPNs and cloud proxies can produce unexpected countries or regions.

Country blocking should therefore include testing, exception handling and monitoring.

IP versus country definitions

Design factorIP-based locationCountry or region location
PrecisionMatches configured network rangesDepends on IP geolocation
Best suited toKnown offices, VPNs and egress gatewaysBroad geographic policy decisions
Change frequencyChanges when ISP or network ranges changeChanges as geolocation databases update
Main riskStale or incomplete rangesFalse geographic assumptions
Trust valueRecognised network context onlyApproximate geographic context only

Trusted Locations

An IP-based Named Location can be marked as trusted.

This label allows selected policies and identity-risk calculations to treat the location differently, but it does not convert every user behind that IP into a trusted identity.

Trusted does not mean safe

An attacker using a compromised office device, VPN credential or remote access session can appear from the same trusted public IP address as legitimate users.

Identity and device controls remain essential.

Location context versus assurance

SignalWhat it tells youWhat it does not prove
Trusted locationThe request came through a recognised IP rangeThat the user or device is legitimate
MFAThe user completed an additional authentication stepThat the device is healthy
Compliant deviceThe device meets management policyThat the current session is risk-free
Low sign-in riskNo significant risk was detected at that timeThat compromise is impossible
Authentication strengthA required class of method was usedThat all post-authentication activity is safe

VPN gateways

Users connected to a corporate VPN often appear from the VPN's public egress address.

If that address is trusted, every connected user may receive the same location context regardless of their physical location.

Split tunnelling

With split tunnelling, Microsoft 365 or SaaS traffic may bypass the corporate VPN and use the user's local internet connection.

The sign-in may therefore not match the VPN Named Location even though the VPN client is connected.

VPN evaluation flow

Remote user connects to VPN ↓ Is Microsoft Entra traffic routed through the VPN? ┌────────────┴────────────┐ ↓ ↓ Yes No ↓ ↓ VPN public IP observed Local ISP public IP observed ↓ ↓ Named Location may match Named Location may not match ↓ ↓ Conditional Access evaluates identity, device, risk and resource ↓ Access decision is recorded

Remote workers

Remote workers frequently change public IP address and may use home broadband, mobile hotspots, hotels or customer networks.

Design policies around identity and device assurance rather than trying to maintain every remote address.

Contractors and shared networks

Contractors may connect through the same corporate VPN or office network as employees.

Use user, group, guest, device and authentication conditions to distinguish access requirements.

IPv4 and IPv6

A location definition that includes only IPv4 may not match traffic that exits through IPv6.

Inventory both address families and test real sign-ins from supported networks.

Dynamic addresses

Consumer and some business internet services can change public IP addresses.

Do not mark unstable ranges as trusted unless the organisation can maintain them accurately.

Common location-based policy patterns

Policy patternPotential benefitDesign caution
Require MFA outside trusted locationsReduces prompts on familiar networksWeakens protection if trusted networks are compromised
Block selected countriesReduces access from unsupported regionsVPNs and geolocation errors can affect legitimate users
Restrict administrators by locationLimits privileged access pathsCan cause lockout during emergencies or travel
Require compliant device outside officeAdds assurance for remote accessGuest and unmanaged-device workflows require planning
Monitor unfamiliar locationsCreates investigative contextShould be combined with risk and identity evidence

Require MFA outside trusted locations

This pattern can reduce prompts inside recognised networks, but it should not become the organisation's only MFA policy.

Privileged users and sensitive applications often require MFA regardless of network location.

Country blocking

Country restrictions can support legal, business or threat-driven requirements.

Emergency access, travelling users, guest access, service traffic and VPN endpoints must be assessed before enforcement.

Privileged access

Do not rely on a trusted location to protect administrators.

Require strong authentication and appropriate device assurance even when the request originates from a corporate network.

Emergency access

Location restrictions can lock administrators out when networks change or service dependencies fail.

Protect and monitor emergency access accounts and exclude them only where required for recovery.

Named Location lifecycle

Network or geographic requirement identified ↓ Confirm public egress ranges or country scope ↓ Create Named Location ↓ Validate IPv4, IPv6, proxy and VPN behaviour ↓ Reference the location in report-only policy ↓ Review real Sign-in Logs ↓ Enforce through staged rollout ↓ Monitor ISP, firewall and VPN changes ↓ Update or retire stale definitions

Change management

Public IP ranges may change during ISP migrations, firewall replacements, datacentre moves or VPN redesigns.

Network teams should notify identity administrators before the change reaches production.

Ownership and review

Every Named Location should have a technical owner, business purpose, source of truth and review date.

Unused or unexplained locations should be removed through controlled change.

Agent Foskett investigation: “The trusted office wasn't trusted.”

1. Users inside the office were not receiving the expected MFA challenge ↓ 2. The office public IP was marked as a trusted Named Location ↓ 3. A contractor connected through the same corporate VPN gateway ↓ 4. The contractor inherited the same trusted network context ↓ 5. The policy excluded trusted locations from the MFA requirement ↓ 6. Sign-in Logs showed the location condition working exactly as configured ↓ 7. The design had treated the network as proof of user trust ↓ 8. Privileged and sensitive access policies were separated from location convenience ↓ 9. Device and authentication controls were added ↓ 10. Trusted location remained a supporting signal—not a security bypass
The IP address was not wrong. The assumption was wrong. A recognised network does not authenticate the person using it.

Investigation evidence

  • User and workload Sign-in Logs
  • Observed IP address and geographic location
  • Named Location definitions
  • Conditional Access policy results
  • VPN and proxy routing configuration
  • Device information and compliance state
  • Authentication details and sign-in risk
  • Audit history for location changes

Operational warning signs

  • Trusted locations include broad ISP ranges.
  • IPv6 ranges are missing.
  • Old VPN gateways remain configured.
  • Country blocking affects travelling users unexpectedly.
  • Privileged MFA is skipped on corporate networks.
  • Locations have no owner or review date.
  • Sign-in IPs do not match network-team expectations.

Review checklist

Review areaQuestionEvidence
PurposeWhy does this Named Location exist?Documented business and security requirement
AccuracyAre all current IPv4 and IPv6 ranges included?Firewall, ISP and VPN records
TrustShould this range still be marked trusted?Risk and architecture review
Policy useWhich policies reference the location?Conditional Access inventory
ImpactAre legitimate and suspicious sign-ins classified correctly?Sign-in Logs
OwnershipWho maintains the definition?Named technical owner
LifecycleCan stale ranges or locations be removed?Change record and review date

Common mistakes

  • Treating trusted location as trusted identity.
  • Excluding all corporate traffic from MFA.
  • Ignoring IPv6 and split tunnelling.
  • Using dynamic consumer IP addresses.
  • Blocking countries without testing VPN behaviour.
  • Forgetting contractors and guests behind shared egress.
  • Leaving stale network ranges in production.

Best practices

  • Use stable public egress ranges.
  • Document every location and owner.
  • Include IPv4 and IPv6 where applicable.
  • Test VPN and split-tunnel behaviour.
  • Use report-only policies before enforcement.
  • Keep privileged authentication independent of network trust.
  • Review Sign-in Logs after every network change.

Key takeaways

  • Named Locations provide reusable network and geographic context.
  • IP-based locations match public egress addresses.
  • Country and region locations depend on IP geolocation.
  • A trusted location does not prove that the user or device is trustworthy.
  • VPNs can place remote users and contractors behind the same address.
  • Split tunnelling can bypass the expected VPN egress path.
  • IPv4 and IPv6 must both be considered.
  • Location policies require report-only testing and real Sign-in Log evidence.
  • Privileged access should retain strong authentication regardless of location.
  • Zero Trust treats network location as context—not assurance.

Continue learning

Continue through Microsoft Entra Conditional Access signals and controls, or return to the academy roadmap.

Microsoft Entra Named Locations and Trusted Networks

Microsoft Entra Named Locations define public IP ranges and geographic regions that Conditional Access can use when evaluating sign-in context, VPN access, trusted network definitions and location-based controls.

Microsoft Entra Academy Lesson 37 — Named Locations and Trusted Networks

This Agent Foskett lesson explains IP-based locations, country and region definitions, trusted locations, VPN gateways, split tunnelling, IPv4, IPv6, location policy design, monitoring and Zero Trust investigation.