Private Access & Azure Firewall
Microsoft Entra Private Access · private endpoints · Private Link service · Azure Firewall
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Microsoft Entra Private Access
Private Access lets you list the FQDNs and IP addresses you treat as private, so remote workers reach them without a VPN when the Global Secure Access client is installed. Each configuration creates an enterprise application that holds the private resources and has its own connector group; you assign users and groups and control access with Conditional Access.
| Quick Access | Global Secure Access app (per-app access) | |
|---|---|---|
| Purpose | The primary group of FQDNs and IP addresses you always want to tunnel. Microsoft calls it a transition state on the way to per-app access. | A more detailed, segmented approach: different Conditional Access policies for a subset of users, different policies for a few resources, or resources secured for a time frame. |
| Number of apps | One Quick Access app | Several apps, each with its own segments |
| Segments | Up to 500 application segments | Up to 500 per app; none can overlap within or between Private Access apps |
| Created at | Global Secure Access > Applications > Quick access | Global Secure Access > Applications > Enterprise applications > New application |
Setup order and prerequisites
- Create a connector group with at least one active private network connector (minimum connector version 1.5.3417.0).
- Configure Quick Access, or create a Global Secure Access app: name, connector group, application segments.
- Assign users and groups to the app. Nested groups aren't supported.
- Configure Conditional Access policies for the app.
- Enable the Private access traffic forwarding profile (Global Secure Access > Connect > Traffic forwarding). You can enable it earlier, but nothing is forwarded until the app and profile exist.
- Roles: Global Secure Access Administrator and Application Administrator in Microsoft Entra ID; managing connector groups also needs Application Administrator and Microsoft Entra ID P1 or P2. A Conditional Access Administrator creates the policies.
- Licensing: Private Access capabilities are included in the Microsoft Entra Suite license and standalone. The Private Access traffic forwarding profile lists Microsoft Entra ID P1 or P2 as a prerequisite, together with Microsoft Entra Private Access or the Microsoft Entra Suite.
- An application segment is defined by destination, port and protocol. Destination types: IP address, FQDN (including wildcard FQDNs), IP range (CIDR) and IP-to-IP range. NetBIOS names aren't supported in per-app segments.
- If an enterprise app segment overlaps a Quick Access segment, the enterprise app segment gets priority. Assignments aren't transferred, so users who relied on Quick Access are blocked until they're assigned to the enterprise app. Allow 15 minutes for changes to reach clients.
- Traffic routing is per Global Secure Access app: the default is Random across the connectors in the group; session persistence is set with the trafficRoutingMethod property through Microsoft Graph and works only for Global Secure Access apps, not application proxy apps.
- The Global Secure Access client runs on devices that are Microsoft Entra joined, hybrid joined or registered; on registered devices only Private Access traffic is supported. Azure Virtual Desktop multi-session isn't supported, and installing needs local admin credentials.
Connectors, DNS and profiles
- Connectors are lightweight agents on Windows Server 2016 or later that make outbound connections only. No inbound ports are needed, and they can run in a perimeter network but needn't. Use at least two per group, and avoid inline inspection or termination of their outbound TLS. TLS 1.2 must be enabled before install.
- Connector group changes don't drain existing connections immediately; restart affected servers to drain them.
- Private DNS: add DNS suffixes to Quick Access; matching queries (including those for enterprise app FQDNs) go to the DNS proxy at the Global Secure Access edge and then to the connector. For Kerberos apps use an FQDN, because the synthetic suffix can break the Kerberos flow.
- Traffic forwarding profiles: the default Private Access profile can't be deleted. Per Microsoft Learn, during preview you can create up to 10 custom profiles; a custom profile's apps must already be in the default profile; the highest-priority applicable profile is used. User and device assignments and platform assignments are evaluated together.
- In the client, rules with smaller priority numbers take precedence; Advanced Diagnostics > Forwarding profile shows the active rule.
Preview status (per Microsoft Learn at the time of writing): custom traffic forwarding profiles are described under a 'During preview' heading, and deploying the connector from the Azure, AWS and GCP marketplaces is labelled preview.
Conditional Access for Private Access apps
- Policies are configured at the application level. Create one from Global Secure Access > Applications > Enterprise applications > the app > Conditional Access > New policy; the app is added as the target resource automatically.
- Example policy: include All users, exclude emergency access accounts, require MFA, a compliant device or a hybrid joined device, and start in Report-only before turning it On.
- Exclude emergency access (break-glass) accounts to prevent lockout from misconfiguration.
Private endpoints
A private endpoint is a network interface that uses a private IP address from your virtual network and connects you privately to a service powered by Azure Private Link, such as Azure Storage or Azure SQL Database.
| Topic | What to know |
|---|---|
| Placement | The private endpoint must be in the same region and subscription as the virtual network; the private-link resource can be in another region. |
| Direction | Connections can be started only by the client connecting to the private endpoint. |
| Approval | Automatic when you have permissions on the resource; otherwise manual. States: Approved, Pending, Rejected, Disconnected. Only Approved endpoints send traffic. |
| Subresources | One endpoint per subresource, for example separate endpoints for blob and file on one storage account. Storage private endpoints need a General Purpose v2 account. |
| Network interface | Read-only, created automatically; its private IP doesn't change during the endpoint's life. A custom NIC name must be set at creation; renaming an existing one is unsupported. |
| Permissions | Owner, Contributor or Network Contributor, or a custom role. Microsoft.Network and the target resource provider must be registered at the subscription level. |
DNS and public access
- The FQDN must resolve to the private IP of the private endpoint. Use a private DNS zone, Azure Private Resolver, or a hosts file (testing only).
- Private DNS zones are auto-configured only if you use the recommended zone names. Don't link one zone to private endpoints for two different services, and don't override a zone that is in use to resolve public endpoints.
- A private endpoint gives a private IP but doesn't necessarily restrict public network access. Set Public network access to Disabled, or use the service firewall; DNS resolution and access control are independent.
NSG, UDR and firewall inspection
- Network policies are disabled on a subnet by default, so NSG and UDR processing is bypassed for private endpoints. Enable them for NSGs, for UDRs or for both on the subnet; the setting applies to all private endpoints in the subnet.
- To inspect private endpoint traffic with Azure Firewall, prefer application rules, because the firewall always SNATs application-rule traffic and that keeps flows symmetric. With network rules or an NVA, configure SNAT yourself.
- A route table supports up to 400 routes; a dedicated virtual network for private endpoints reduces route overhead.
Private Link service
A Private Link service is your own service, behind a Standard Load Balancer, exposed so that consumers create private endpoints to it from their own virtual networks.
| Property | Meaning |
|---|---|
| Standard Load Balancer | Required; Basic Load Balancer isn't supported. The service must be in the same region as the virtual network and the load balancer. |
| NAT IP configuration | Consumer traffic is NATed to IPs from your subnet, so your service sees the NAT IP, not the consumer address. Up to eight NAT IPs; you can't delete the last one. |
| Alias | Globally unique name you can share instead of the resource URI. Connect with an alias by using manual approval. |
| Visibility | Who can request a connection: RBAC only, restricted by subscription, or anyone with the alias. |
| Auto-approval | Subscriptions approved automatically; it is a subset of the visibility array. Other requests are Pending and need manual approval. |
| TCP Proxy v2 | Lets the provider read the consumer's source IP and the private endpoint LinkID. If enabled on the service but the backend doesn't parse the header, requests fail. |
- Only approved connections can send traffic. One service can serve private endpoints from different virtual networks, subscriptions and Microsoft Entra tenants.
- Before deleting a Private Link service, reject or remove its private endpoint connections.
- Private Link Service Direct Connect (connect to any privately routable destination IP without a load balancer) is in public preview per Microsoft Learn.
Azure Firewall
| SKU | Key points |
|---|---|
| Basic | Throughput up to 250 Mbps; threat intelligence in alert mode only. |
| Standard | Layer 3 to Layer 7 filtering, autoscaling to 30 Gbps, threat intelligence, DNS proxy, custom DNS, web categories. |
| Premium | Adds TLS inspection, signature-based IDPS, URL filtering; scales up to 100 Gbps. Inbound TLS termination (reverse proxy) is done with Azure Application Gateway. |
Rule processing
- Azure Firewall denies all traffic until rules allow it. Rules are terminating: processing stops on a match.
- Threat intelligence rules run first, before NAT, network and application rules. The default mode is alert only; it can be changed to alert and deny, and allowlists can exempt traffic.
- Then DNAT rules, then network rules, then application rules, regardless of rule collection group or collection priority and inheritance. Priorities run from 100 (highest) to 65,000 (lowest).
- Parent policy rule collection groups always take precedence over child policy groups. Default groups: DNAT 100, Network 200, Application 300; create custom groups to change the order.
- A rule collection has one action (allow or deny) and a priority and holds rules of one type. Rules inside a collection are processed top-down, with no priority number.
- Application rules match HTTP on the Host header and HTTPS on SNI only. Traffic that no application rule matches is checked against the built-in infrastructure rule collection and then denied.
- Firewall is stateful: return traffic of an allowed connection is allowed even with an explicit reverse Deny.
Premium features
- TLS inspection: decrypts outbound traffic, inspects it and re-encrypts it, using a customer-provided CA certificate to generate certificates on the fly. It supports outbound and east-west inspection.
- IDPS: signature-based; modes Disabled, Alert, Alert and Deny; up to 10,000 rules can be customized. By default only RFC 1918 ranges count as private for IDPS direction. In Alert mode it runs in parallel with rule processing; in Alert and Deny it runs inline after the rules, and its drops are silent (no TCP RST).
- URL filtering extends FQDN filtering to the whole URL path.
DNS, SNAT, forced tunneling and subnets
- DNS: the default is Azure DNS with DNS proxy disabled. To use FQDNs in network rules, enable DNS proxy and point clients at the firewall. Up to 15 custom DNS servers.
- SNAT: by default network rules don't SNAT to RFC 1918 or RFC 6598 destinations; application rules always SNAT. Use 0.0.0.0/0 as the private range to never SNAT network-rule traffic, or 255.255.255.255/32 to always SNAT it. The private range applies to network rules only.
- Forced tunneling needs the Firewall Management NIC and the AzureFirewallManagementSubnet (minimum /26). DNAT isn't supported with forced tunneling, but firewalls with a Management NIC still support DNAT. Basic and secured-hub firewalls always have a Management NIC.
- AzureFirewallSubnet needs a /26. Subnet-level NSGs aren't needed there and are disabled. If the subnet learns a default route through BGP, override it with a 0.0.0.0/0 UDR with next hop type Internet.
CLI and PowerShell
| Task | Azure CLI | PowerShell |
|---|---|---|
| Set custom DNS servers on Azure Firewall (PowerShell: set the DNSServer property of the object from Get-AzFirewall, then pipe it to Set-AzFirewall) (needs the azure-firewall CLI extension: az extension add --name azure-firewall) | az network firewall update --name fwName --resource-group fwRG --dns-servers 10.1.0.4 10.1.0.5 | $azFw.DNSServer = $dnsServers |
| Enable network policies for private endpoints on a subnet (PowerShell: splatted parameters include PrivateEndpointNetworkPoliciesFlag = 'Enabled'; then $vnet | Set-AzVirtualNetwork) | az network vnet subnet update --disable-private-endpoint-network-policies false --name default --resource-group myResourceGroup --vnet-name myVNet | Set-AzVirtualNetworkSubnetConfig @sub |
| Find GroupId and MemberName of a private-link resource | az network private-link-resource list --resource-group MyResourceGroup --name myWebApp1979 --type Microsoft.Web/sites | Get-AzPrivateLinkResource -PrivateLinkResourceId $webapp.ID |
| Set Azure Firewall SNAT private ranges (classic rules only; PowerShell: on an object from Get-AzFirewall, then Set-AzFirewall -AzureFirewall $azfw) | - | $azfw.PrivateRange = @("IANAPrivateRanges", "192.168.1.0/24", "192.168.1.10") |
Exam Tips
Tick each tip once you can answer it without looking.
“First-time Quick Access setup: what must exist?” → Global Secure Access Administrator and Application Administrator roles, and a connector group with at least one active connector (1.5.3417.0 or later). Trap: A Conditional Access Administrator creates the policies, but doesn't replace those roles.
“Different Conditional Access policy for a subset of private resources or users” → A Global Secure Access (per-app) enterprise app. Trap: Policies attach to apps, not to traffic forwarding profiles, and Quick Access is one container.
“Users blocked after a segment moved from Quick Access to an enterprise app” → Assign the users or group to the enterprise app. Trap: The enterprise app segment wins over Quick Access, but assignments aren't copied.
“Private Access user assignment” → Direct or via a group assigned to the app; nested groups aren't supported. Trap: Allow 15 minutes for client sync.
“Open ports for the Private Access connector” → Outbound ports 80 and 443; no inbound ports needed. Trap: Don't inspect the connector's outbound TLS inline.
“Private endpoint to a resource you have no RBAC permissions on” → Manual approval; Pending until the owner approves. Trap: Only Approved endpoints send traffic.
“Private endpoint created, resource still reachable from the Internet” → Disable Public network access or use the service firewall. Trap: Private endpoints don't necessarily restrict public access; DNS isn't access control.
“NSG deny rule has no effect on a private endpoint” → Enable network policy for NSGs on the subnet. Trap: Network policies are disabled by default; NSG traffic to private endpoints is bypassed.
“Storage blob and file both needed privately” → A separate private endpoint per subresource. Trap: One endpoint per target subresource.
“Private endpoint name resolves to a public IP” → Fix DNS: private DNS zone linked to the VNet (or a Private Resolver). Trap: A hosts file is for testing only.
“Your own service exposed over Private Link” → Private Link service behind a Standard Load Balancer. Trap: Basic Load Balancer isn't supported.
“Pre-approve certain customer subscriptions to your Private Link service” → Visibility plus the auto-approval list. Trap: Auto-approval is a subset of visibility; others wait for manual approval.
“Backend needs the real consumer IP behind Private Link service” → Enable TCP Proxy v2 and parse the header. Trap: Without it, the service sees the NAT IP; enabling it without parsing makes requests fail.
“Order of Azure Firewall evaluation” → Threat intelligence, then DNAT, network, application rules. Trap: Policy priority numbers don't reorder rule types; the parent policy always comes first.
“Inspect traffic to private endpoints with Azure Firewall” → Application rules (always SNATed). Trap: Network rules or an NVA need SNAT configured for flow symmetry.
“Signature-based IDPS or TLS inspection” → Azure Firewall Premium. Trap: Standard has threat intelligence, DNS proxy and web categories but no IDPS.
“FQDN in network rules gives inconsistent matches” → Enable DNS proxy and set clients to use the firewall. Trap: DNS proxy is off by default.
Sources
- Microsoft Entra Private Access
- Configure Quick Access
- Configure per-app access
- Configure connectors
- Private network connectors
- Private Access traffic forwarding profiles
- Private DNS
- Conditional Access for Private Access apps
- Global Secure Access client for Windows
- What is Global Secure Access (licensing)
- Private endpoint overview
- Private endpoint DNS
- Network policies for private endpoints
- Manage private endpoints
- Inspect private endpoint traffic with Azure Firewall
- Private Link RBAC permissions
- Private Link service
- Azure Firewall rule processing
- Azure Firewall policy rule sets
- Choose an Azure Firewall SKU
- Azure Firewall Premium features
- Threat intelligence
- SNAT private ranges
- DNS settings
- Forced tunneling
- Management NIC
- Azure Firewall FAQ
- Connector groups
- Global Secure Access traffic forwarding profiles
Checked against Microsoft Learn on November 13, 2026.