EXAMTOPICS / TECHNOLOGY INSIGHTS

Microsoft AZ-700: Azure Private Link vs Service Endpoints

Azure Private Link and virtual network service endpoints can both restrict access to Azure platform services from a virtual network, but they do so in fundamentally different ways. A service endpoint keeps the Azure service on its public endpoint while extending the virtual network’s identity to that service. A private endpoint places a network interface with a private IP address in the customer virtual network and uses Azure Private Link to reach the service privately.

For the current AZ-700 objectives, the design choice requires more than remembering that “Private Link is private.” Architects must understand endpoint addressing, DNS, routing, source identity, data-exfiltration controls, operational complexity, and whether clients need access from peered networks or on-premises environments.

Microsoft’s current networking guidance generally prefers private endpoints for new production designs that handle sensitive data or require strong isolation, while service endpoints remain useful when their simpler model meets the requirement.

The endpoint model is the core difference

A service endpoint does not create a private IP address for the Azure platform service. The service continues to expose its public endpoint, but the virtual network subnet is extended to the service so the service can identify traffic as coming from an allowed VNet or subnet.

A private endpoint creates a network interface in the customer VNet with a private IP address. DNS can then resolve the service name to that private address so clients connect through Private Link rather than the public endpoint.

This difference affects almost every other design consideration.

With a service endpoint, clients still address the service’s public endpoint. With a private endpoint, clients need correct name resolution to reach the private IP. The networking team therefore gains stronger private-address semantics but also inherits DNS design work.

Service endpoints are simpler when the public service endpoint is acceptable

Service endpoints can be appropriate when a workload needs to restrict an Azure service to selected VNets or subnets but does not require a private IP for the service.

Advantages include:

  • relatively simple configuration
  • no private endpoint network interface to manage
  • no private DNS zone required for the endpoint itself
  • source VNet/subnet identity can be used in supported service firewall rules
  • traffic to the Azure service remains on the Microsoft backbone after it enters the service endpoint path

This can work well for controlled Azure-only scenarios in which the application and service are in a straightforward network topology.

The architectural limitation is that the service still has a public endpoint. The firewall or service configuration is what restricts which networks can use it. If the requirement says the workload must be reachable only through private IP addressing, a service endpoint does not satisfy that requirement.

Private endpoints create a true private address in the VNet

A private endpoint maps a supported Azure service to a private IP address inside the customer’s VNet.

That makes it useful for workloads that require:

  • private-address access to PaaS services
  • public network access to be disabled
  • connectivity from peered VNets
  • access from on-premises networks through VPN or ExpressRoute
  • stronger controls against unintended public-endpoint access
  • regulatory or security architectures that require private service exposure

Because the private endpoint behaves like a network interface in the VNet, normal IP planning matters. The subnet needs enough addresses, route and security behavior must be understood, and the endpoint becomes part of the network inventory.

Private Link also supports scenarios in which a service is exposed privately to consumers without granting those consumers general network-level access to the provider VNet.

Private endpoint lifecycle must also be owned. Some connections are automatically approved while others require the service owner to approve the private-link connection. Deleting and recreating a service, endpoint, or subscription can leave stale DNS records or pending connections if automation does not clean up the old state. Platform teams should treat endpoint creation, approval, DNS registration, and removal as one workflow rather than as separate tickets handled by different teams.

DNS is part of Private Link architecture

DNS is often the difference between a working private endpoint and a confusing outage.

Applications usually continue to use the normal service hostname. The DNS architecture changes that hostname’s resolution so clients that should use Private Link receive the private endpoint IP rather than the public service address.

Azure provides private DNS zone patterns for many services, but the organization must still decide how those zones are linked to VNets and how on-premises clients resolve them. Hybrid environments may require conditional forwarding, Azure DNS Private Resolver, or another DNS integration pattern.

The broader explanation of Azure DNS is relevant because Private Link failures frequently look like network or authorization problems even when the root cause is name resolution.

A useful troubleshooting sequence is:

  1. Resolve the service hostname from the affected client.
  2. Confirm the returned address is the intended private endpoint IP.
  3. Verify routing to the endpoint subnet.
  4. Verify the Azure service’s public-access and private-link configuration.
  5. Confirm application identity and service-level authorization separately.

Service endpoints and private endpoints change source behavior differently

Source identity matters when Azure services enforce network rules.

With service endpoints, the service can use the originating VNet or subnet identity as part of its access decision. This is why service firewalls can allow selected subnets.

With private endpoints, the connection is made to a private IP that belongs to the customer VNet. The Azure service sees the connection through its Private Link association rather than through the public endpoint’s service-endpoint model.

That distinction can affect logging, firewall configuration, and how an application is moved from service endpoints to private endpoints. Migration should not assume that existing network rules apply identically after the endpoint model changes.

Private endpoints improve exfiltration control but require deliberate policy

Private endpoints are often selected to reduce the chance that compromised workloads can send data to arbitrary instances of the same Azure service over public endpoints.

The strongest pattern combines private endpoints with disabled public network access or tightly restricted service networking. If public access remains broadly available, simply creating a private endpoint does not force every client to use it.

DNS, routing, and service configuration must align. A compromised workload should not be able to bypass the intended private path merely by resolving or addressing the public endpoint.

This is why Microsoft’s current private-PaaS guidance positions private endpoints as the preferred model for sensitive production workloads and data-exfiltration prevention scenarios.

Hybrid and peered-network access favors Private Link

Service endpoints are fundamentally tied to Azure virtual network subnets. They do not give an on-premises client a private IP endpoint to reach across VPN or ExpressRoute.

Private endpoints are more flexible for hybrid access because on-premises clients can route to the private endpoint address through established private connectivity, provided DNS returns the private address and routing/security controls permit the path.

The same logic applies to peered VNets. A client in a peered network can reach a private endpoint if routing and DNS are configured correctly. This can support centralized shared-service patterns without enabling service endpoints independently in every consuming subnet.

The tradeoff is operational complexity. Private DNS zones, forwarding, endpoint approval, IP planning, and lifecycle management all need ownership.

Cost and scale can also influence the choice.

Service endpoints do not create per-service private endpoint resources, which can make them operationally lighter in large environments.

Private endpoints introduce additional resources and costs, and organizations with many applications can create hundreds or thousands of endpoint objects. That scale affects IP address planning, naming, policy, DNS-zone links, and troubleshooting.

This does not make service endpoints better by default. It means the stronger isolation of Private Link should be implemented with platform automation rather than ad hoc manual configuration.

Common enterprise patterns use policy and infrastructure as code to standardize:

  • endpoint subnet design
  • private DNS zone associations
  • public-network-access settings
  • naming and tagging
  • approval workflows
  • diagnostic settings

At scale, teams should also track which private endpoints depend on each private DNS zone. Over-linking the same private DNS zone to many networks can create an unexpectedly broad name-resolution boundary, while creating isolated zones for every application can become difficult to operate. The DNS topology should align with the organization’s network trust model.

That turns private connectivity into a repeatable platform capability instead of a one-off exception.

Do not confuse network reachability with application authorization

Neither service endpoints nor private endpoints replace identity and access control.

A storage account reached through Private Link still needs valid authentication and authorization. A Key Vault restricted to a service endpoint still requires Microsoft Entra identity and appropriate data-plane permissions.

Network controls answer where a request may come from and which network path it uses. Identity controls answer who or what the caller is and which operation it may perform.

Secure PaaS architecture normally uses both. A private endpoint without application authorization is insufficient, and strong identity without network restrictions may still violate an organization’s isolation requirements.

Select the model from the isolation requirement

Use service endpoints when the service’s public endpoint can remain part of the design, subnet-based restriction is sufficient, and the simpler operational model is valuable.

Use private endpoints when the workload needs a private IP, public network access should be disabled, hybrid or peered-network consumers need private access, or data-exfiltration and regulatory requirements justify stronger isolation.

For Private Link, treat DNS as a first-class design component. The private endpoint, private DNS, hybrid resolver path, and public-access configuration should be reviewed together. Most production problems occur not because Private Link is conceptually difficult, but because one of those dependent pieces was designed in isolation.